Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp913351rwb; Fri, 18 Nov 2022 09:53:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf7gyPo42B8IU/19iTrv42py/cHx0HNGPzOuN0dtnfiFhuQUfUMfM1am3oirNkevyLXGoOzY X-Received: by 2002:a05:6402:1855:b0:45c:fca7:e094 with SMTP id v21-20020a056402185500b0045cfca7e094mr6949533edy.314.1668794028683; Fri, 18 Nov 2022 09:53:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668794028; cv=none; d=google.com; s=arc-20160816; b=ZTy3d8dreL9FHbwTQmurkY1pjvpx6l72GtPNAgLSjhHpnueCspt3/+Epqgn+cw4bh8 yuQRFJ1GCexvlYo7aixwI5/XVQ2cziA7paCMh1csK3TIutvTdUcXokK28e72PGzruDyw s+yh0AQsXV4qa6jOHHJGHLP7OUS8beUanNLyA8vxK5Ev5vUNgYDNDoDqjU3wSMULp+6+ /SuxjN4bmuJK/GhdGNw6/tXChtbC+qKXj7gRwbCUW3cPdk6RHeBwhQrlSqsRCajsLlei 1b/dilDVpaUcH7M1bfooi3y0QuXhF3TBSa31OLdGSekNv6AE0FNvj1fgXNSGWV8N4CZS TdYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=NV08U6xHPyg0UaSVwP6PfcZOSsUP/5GZvrfcRdYDLS0=; b=kyEbgSGgB9bDBM0XscSE4hAEVlzO1baCNurXCifl/0OjbYeMrZDlUGwmGI9AnWJbDx WEhcusWz/qqr0QXNbsmIvrXETQ/mQaoSu8w/2QUY8HbsVCu9Y7pX4PxKITmJ6O0wiLRO LIQUT80BhNTpyw7jbD4pTY0JTpPANC+aywrrhTBlr6+xAeBoRneDvh6Xb1/ir+Vhn81d ZDAt1n5eRI2r+fyWCu8aCSLDhBcMgzFhLapKLrlOzO+9KHgoJssnVTvUovZlyvGYufh7 qhKg8cRwZ6IbD+iOaPN5Ju78e7owUz2LyLuJzdAUUzKhJiXasUP7IjGgdKOv/MbO6RsP 4mHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@raspberrypi.com header.s=google header.b=lBa8PRc7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=raspberrypi.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he39-20020a1709073da700b00780636887fesi4224177ejc.797.2022.11.18.09.53.25; Fri, 18 Nov 2022 09:53:48 -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 header.i=@raspberrypi.com header.s=google header.b=lBa8PRc7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=raspberrypi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241919AbiKRR0M (ORCPT + 90 others); Fri, 18 Nov 2022 12:26:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235347AbiKRR0J (ORCPT ); Fri, 18 Nov 2022 12:26:09 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 077829150C for ; Fri, 18 Nov 2022 09:26:09 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id ud5so14695389ejc.4 for ; Fri, 18 Nov 2022 09:26:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NV08U6xHPyg0UaSVwP6PfcZOSsUP/5GZvrfcRdYDLS0=; b=lBa8PRc7BGxEmXsVGVuHecMAlZ41oysW90dh3ZlB7//RXOu2DJs4spnom3Xm3vTprH bYzodfr5s3w/II3G1U+jgtsT9sijkICX0s8eRo7+PUzUUMdC52ZhqGW3AiqLGpLwal/l DVyEiHmt4YVmhV3FGR0RtDgyHlUDCMVLnNZO0Db61ToiIhnnncZv1YizGPRs3OUjOP/D Sc+0zuRhA8ODeCMcN8IMEw+y3E6railg7P6pOLsLBcAJsAFGxtgPsmtOlVablo09Vc5G psBaR7DdyISjAXlScHRJsu321ygf7zPq3n3VI7Xmls0Wq0xylE3y0RlwLW3qmrl9QHX5 Q+hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NV08U6xHPyg0UaSVwP6PfcZOSsUP/5GZvrfcRdYDLS0=; b=5DNUE22AUGTB+0BJOzIcbV2PzYxqsSwj/r0wRb6+3qbClmDCyK2eAvsIpqZNrWsWlK TeBq4hPvkWrJRN9ICOXcRT9PMYRayljcpR76/KIuxL7/fxOO3x5CTdJffo0Tkw1DGUuF SmpG44VSW84t5SAL/C9LRNjwJoHEyIeNv+VCG0tJuP/60/zsHEZD51Lt/x2gLPhEDOev rRfymS0tdYq8kGhdnk4ErrrHWUvb8iNa3wlHgEcJ5A0q3UegDZjqbGtQsRCtftElH5ud fiorl0SjEfM0aB/lHjTHXT79eLyPPNSa68cAszMizLSi5aWQXhfAGreTbBW+9DP2dhVV NYPA== X-Gm-Message-State: ANoB5pmlV1Lb1K9K/eeomzXvmc0AgO+uZhqZxGQymMUJgT+B3bDVbf3n UrSzxMVDy0e2uFhLPz2JRrYfsi1zw67d9Vwu9QWHgw== X-Received: by 2002:a17:907:378:b0:7ad:db82:d071 with SMTP id rs24-20020a170907037800b007addb82d071mr7124611ejb.200.1668792367597; Fri, 18 Nov 2022 09:26:07 -0800 (PST) MIME-Version: 1.0 References: <20221117160015.344528-1-umang.jain@ideasonboard.com> In-Reply-To: From: Dave Stevenson Date: Fri, 18 Nov 2022 17:25:52 +0000 Message-ID: Subject: Re: [PATCH 0/3] vc04_services: Promote bool usage To: Stefan Wahren Cc: kieran.bingham@ideasonboard.com, Mauro Carvalho Chehab , Hans Verkuil , linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Umang Jain , Ray Jui , Broadcom internal kernel review list , Dan Carpenter , Florian Fainelli , Greg Kroah-Hartman , linux-staging@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 Hi Stefan On Thu, 17 Nov 2022 at 18:11, Stefan Wahren wrote: > > Hi Dave, > > Am 17.11.22 um 17:00 schrieb Umang Jain: > > 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 ++-- > could you please check these changes to be safe? I'm not sure that the > affected declarations are really internal. I'm afraid this might affect > firmware or userspace. No problem. These are totally safe. As I've commented on the v2 patch, if it were in the mmal-msg*.h files then I'd be more concerned as those are matching the firmware structures, but these are just internal state. Dave > > 3 files changed, 27 insertions(+), 27 deletions(-) > >