From patchwork Thu May 19 07:06:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 15980 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 8D344C0F2A for ; Thu, 19 May 2022 07:06:41 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 41F5D65667; Thu, 19 May 2022 09:06:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1652944001; bh=p0vZBIcAfZtYADJBu0kB7FamcYDr2BZHW6K9XA2eJws=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=qoYi/Gh/XzqRWavMiQ4BVs6aT60xhX/kTck6EJoF3fD8xdOVJmQNZe2Etk/CojrqC Y8Achxpn6Jbe+gO/g7PsL0sUQTAqdhI6AoTyNifAc6CYRzg0PBNB+AYxPREDN4XqPJ FgdviqjKaTuPAXVbKge7H/XmrFKoaGsMnX122IgI7foV3QN8BrikV/FCvJ+56iqGbH Q8c/pZve3tFYt0Hlz1PPY2OuibZM5WU1yOnBbqMKh0lztGRUquHhkFXZdozfXq3XnJ JiFaANgqRF3LVSkWR0o3/oP2olgGJSFbmxMgx3I1nGi5q49093g6noS15x/7u3R2VW ytx0g25+UcgYw== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9AB2765654 for ; Thu, 19 May 2022 09:06:39 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Kra69gVA"; dkim-atps=neutral Received: from deskari.lan (91-156-85-209.elisa-laajakaista.fi [91.156.85.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D8DC0E50; Thu, 19 May 2022 09:06:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1652943999; bh=p0vZBIcAfZtYADJBu0kB7FamcYDr2BZHW6K9XA2eJws=; h=From:To:Cc:Subject:Date:From; b=Kra69gVAZLb2yYHbrqn30GIdJiVzBdDD63UaMwifLeGhciacEO6GEiCyPqddEBXzL UV6/BNYQqK5+MVPsOGvpZC8RwhZTfgk11tXZq0IZArF3mX17+hKhccpv+3XfjyX+r5 cPKRKIHnkqYfiUc5u7cgmyRqep7qwSkdqwgSLRY4= To: Laurent Pinchart , Kieran Bingham , libcamera-devel@lists.libcamera.org Date: Thu, 19 May 2022 10:06:19 +0300 Message-Id: <20220519070620.10373-1-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 1/2] libcamera: formats: fix warning print X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tomi Valkeinen via libcamera-devel From: Tomi Valkeinen Reply-To: Tomi Valkeinen Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Remove extra "0x" from the print. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart --- src/libcamera/formats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/formats.cpp b/src/libcamera/formats.cpp index afcaabc5..3e60ec7d 100644 --- a/src/libcamera/formats.cpp +++ b/src/libcamera/formats.cpp @@ -926,7 +926,7 @@ const PixelFormatInfo &PixelFormatInfo::info(const PixelFormat &format) const auto iter = pixelFormatInfo.find(format); if (iter == pixelFormatInfo.end()) { LOG(Formats, Warning) - << "Unsupported pixel format 0x" + << "Unsupported pixel format " << utils::hex(format.fourcc()); return pixelFormatInfoInvalid; }