[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPY8ntBDkme2nuYMAsMtkycbjnQ8CR2CU70EWPiS_R4KyoQySw@mail.gmail.com>
Date: Fri, 18 Nov 2022 17:25:52 +0000
From: Dave Stevenson <dave.stevenson@...pberrypi.com>
To: Stefan Wahren <stefan.wahren@...e.com>
Cc: kieran.bingham@...asonboard.com,
Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
linux-kernel@...r.kernel.org, linux-rpi-kernel@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
Umang Jain <umang.jain@...asonboard.com>,
Ray Jui <rjui@...adcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>,
Dan Carpenter <error27@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-staging@...ts.linux.dev
Subject: Re: [PATCH 0/3] vc04_services: Promote bool usage
Hi Stefan
On Thu, 17 Nov 2022 at 18:11, Stefan Wahren <stefan.wahren@...e.com> 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(-)
> >
Powered by blists - more mailing lists