Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp343297rwb; Fri, 18 Nov 2022 02:11:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf7tGhujCqVP9KxiZCJBog9aLlzFORJ1iUQG30WQ/Exzd+14YiJq+0uOfsJPZSXdPA2g8fZX X-Received: by 2002:a05:6402:702:b0:461:ed76:cb42 with SMTP id w2-20020a056402070200b00461ed76cb42mr5699846edx.229.1668766273904; Fri, 18 Nov 2022 02:11:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668766273; cv=none; d=google.com; s=arc-20160816; b=YiJ5XH4p6vvU2dtEE9iSvTz7JA0NWqYPtTZl/m6P/6pwjBtfvDh66rgIfoxOkaqhiL udOCy/6JE1KIGE09qeRXsYz3SwKFfnXaPQfjILfkquJAwf5qAx5aCQC74FtQgkF6Ecra 1GZa2c0Wz+xXr6QIBeB/9kc2PlcTraxQLCVAS4N/UMskfWMQpbOSKNAjPtjhp2E+3nw7 qv3j3YtEsZ6v+NBOU5w347a5utUzCGgck0TFzV8IVdKLhgn5fPVvz9Q5tlLFDs40tiWQ 3Ce1VpZQa3q0Or6ojR93omqox6Wgxc4U7U2O79gUJJZbkNAMt0WZTqoAhQukPKVk6Iw+ lZMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=WwgSm9bqrv9v0NwzwueaMMXTn7cXaqJoVsGVthQFSHw=; b=GBz26Cdz6TYSrJ0taF916XgdFm8IXCBoN2lpJZp3KftW6x21zy6ZO9mOkTtkwCh9z+ HIgYY53gjKqBUNbx2guLr57SxS6u0kN1DKusRGdVUwJhTCByiw+2HBvHFUMwp+TUecmb ebh9dhr7rDrwuv3VN1ZEQcDbqtF2vIQQCc3gm3AgapbJ5u1YovpaXgcKszE8MTsK9Gyp 6q4dYqagoOxGmmdhM9+k8Z54POY6zh5RF/g5UFt7Ureh0amvw0KKbq6xyvsRFZI0M8ZG CxY/E6P295io8oIjMKkaM++vX7W5lw8a+HBKa5JMILbUMHQkUiCzVK3bkLmjt9kl0TM+ oB3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=quBB7pfv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u1-20020a50eac1000000b0046911aa4967si1124668edp.555.2022.11.18.02.10.44; Fri, 18 Nov 2022 02:11:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=quBB7pfv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241202AbiKRInF (ORCPT + 90 others); Fri, 18 Nov 2022 03:43:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241053AbiKRIm7 (ORCPT ); Fri, 18 Nov 2022 03:42:59 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53FF3E0F7 for ; Fri, 18 Nov 2022 00:42:58 -0800 (PST) Received: from ideasonboard.com (unknown [103.251.226.79]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AE823AF4; Fri, 18 Nov 2022 09:42:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668760975; bh=TCrYINWxM0LvCaPr72NP5lRPmCGfFoHIG7JjVzCGjrU=; h=From:To:Cc:Subject:Date:From; b=quBB7pfvSnnPccL7fq/8zUsbsX0sa6m7O7sFCS+qF3m4G8DQSEBatBqf8elaJXzA2 nRjuVgyy/4UiPLDUV4rOw4TWYE1d66St1DlBVZCxMp6KwcmsnKT5BNWEDSA37EnHFK vHESTzMQK5E5BbL9YL/5YZ/SwL3pyROpmreA2DoU= 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 v2 0/3] staging: vc04_services: Promote bool usage Date: Fri, 18 Nov 2022 14:12:41 +0530 Message-Id: <20221118084244.199909-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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. Changes in v2: - Drop ':1' in bool foo:1 usage as mistaken understood as initization by me (apologies). 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(-) -- 2.38.1