From patchwork Thu Nov 17 16:00:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13046997 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23197C4332F for ; Thu, 17 Nov 2022 16:01:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=uTJ2ey9gKJIs9rJ2wjp3SkX58Vd8iyvps5jd/AcM0F8=; b=E7nZSVD/KFIqjP 5Ufj/eMwuSjtkh/0j/3dyPLLLzzDEW7RT0uznTUx5iyUY+/Sk95y9IOuIS80DukBNL9HmYPv5vbNP RSdNrzi2rVF2yA191FTCCMsVzD7MJr0+T96PQyBH9JMdxQOStz88y0j1I2H3IzZTYV1v5ERlwGPyX ESoI/stpliMGynXzE+KYsOgRDNtpT3fSGecMrXfdV9HqKu2vyHAye5Kx1VLX/McfATXLzJEJJ3TwO wbtEFPD2gm9HNXXn+7Xw1T6RA35zGB3X42itcPyKiDp+3XvFVkVQjFZrYnqznQ/vqS+j7LI/rLH/k Dqfo6iDhDz82JVmMOaPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovhJe-00Fe1S-V0; Thu, 17 Nov 2022 16:00:39 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovhJX-00FdwJ-2R; Thu, 17 Nov 2022 16:00:36 +0000 Received: from ideasonboard.com (unknown [103.251.226.79]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A3F26929; Thu, 17 Nov 2022 17:00:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668700827; bh=I80Tp79qaCwo6ciskJK+YDceactFw/U1YNWBgPsEn2A=; h=From:To:Cc:Subject:Date:From; b=t8O5JmSt0OkQpDdVs4jVRkYSElAtfH7sVJKhEZ7lcLmrpYADbJgA4QchJb8m/f8Y0 bRZcXDV/uaZTZPwE1INty6jpQCXgB2Sna5lICJs+6L080mrtNpgW4ZFm2hPS3unqYP KOJeBEOCrbdwHHF+zQWaHxOHOevnc/S8oNM/L+ds= From: Umang Jain To: Florian Fainelli , Broadcom internal kernel review list , Ray Jui , Dan Carpenter , Greg Kroah-Hartman , Hans Verkuil , Dave Stevenson , Mauro Carvalho Chehab , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: kieran.bingham@ideasonboard.com, Umang Jain Subject: [PATCH 0/3] vc04_services: Promote bool usage Date: Thu, 17 Nov 2022 21:30:12 +0530 Message-Id: <20221117160015.344528-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221117_080031_315022_E2A2F1C0 X-CRM114-Status: UNSURE ( 5.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org In commit 7967656ffbfa ("coding-style: Clarify the expectations around bool") the check to dis-allow bool structure members was removed from checkpatch.pl. It promotes bool structure members to store boolean values. This enhances code readability. Umang Jain (3): Revert "staging: mmal-vchiq: Avoid use of bool in structures" vc04_services: mmal-vchiq: Use bool for vchiq_mmal_component.in_use vc04_services: bcm2835-camera: Use bool values for mmal_fmt.remove_padding .../bcm2835-camera/bcm2835-camera.c | 30 +++++++++---------- .../vc04_services/vchiq-mmal/mmal-vchiq.c | 18 +++++------ .../vc04_services/vchiq-mmal/mmal-vchiq.h | 6 ++-- 3 files changed, 27 insertions(+), 27 deletions(-)