From patchwork Thu Nov 4 11:13:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 14455 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 96E72BF415 for ; Thu, 4 Nov 2021 11:13:54 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CB55A6032F; Thu, 4 Nov 2021 12:13:53 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="UhAn1CwE"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 03F926032C for ; Thu, 4 Nov 2021 12:13:51 +0100 (CET) Received: from Monstersaurus.ksquared.org.uk.beta.tailscale.net (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5EFFFE52; Thu, 4 Nov 2021 12:13:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1636024431; bh=WGIO7PHNvpg/OzQhgKc9iOkoWC+pSuy0sBYjEqQ5Bms=; h=From:To:Cc:Subject:Date:From; b=UhAn1CwEXcBdlQAbBR0yoUeRYkE92a7RcsUfK2fJGDR5qo9oYCE2JdmT0no61m/fd YX8K1jtlqtDy0XKPJO8gaMNolMsOD7MwQRLgV4o2MNcfCnNRFVGF9IpCF++mIA/yqP kWcgo7uNkLw5Ox7+BY9lhgMCRk2N9crDniJY1d/c= From: Kieran Bingham To: libcamera devel Date: Thu, 4 Nov 2021 11:13:47 +0000 Message-Id: <20211104111347.3781990-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: framebuffer: Fix iscontiguous log message 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: , Cc: Roman Stratiienko Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The isContiguous debug message is inverted. Correct the logic. Reported-by: Roman Stratiienko Signed-off-by: Kieran Bingham Reviewed-by: Jacopo Mondi Reviewed-by: Jean-Michel Hautbois --- src/libcamera/framebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcamera/framebuffer.cpp b/src/libcamera/framebuffer.cpp index d44a98babd05..337ea1155a38 100644 --- a/src/libcamera/framebuffer.cpp +++ b/src/libcamera/framebuffer.cpp @@ -247,7 +247,7 @@ FrameBuffer::FrameBuffer(const std::vector &planes, unsigned int cookie) } LOG(Buffer, Debug) - << "Buffer is " << (isContiguous ? "not " : "") << "contiguous"; + << "Buffer is " << (isContiguous ? "" : "not ") << "contiguous"; _d()->isContiguous_ = isContiguous; }