[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <25a963df43bfa4a1099b6813bb35d9c5a6184578.camel@perches.com>
Date: Tue, 23 Jun 2020 15:11:39 -0700
From: Joe Perches <joe@...ches.com>
To: Nicolas Saenz Julienne <nsaenzjulienne@...e.de>,
gregkh@...uxfoundation.org
Cc: kernel-list@...pberrypi.com, laurent.pinchart@...asonboard.com,
linux-rpi-kernel@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
devel@...verdev.osuosl.org,
Dave Stevenson <dave.stevenson@...pberrypi.org>,
Jacopo Mondi <jacopo@...ndi.org>
Subject: Re: [PATCH 03/50] staging: mmal-vchiq: Avoid use of bool in
structures
On Tue, 2020-06-23 at 18:41 +0200, Nicolas Saenz Julienne wrote:
> From: Dave Stevenson <dave.stevenson@...pberrypi.org>
>
> Fixes up a checkpatch error "Avoid using bool structure members
> because of possible alignment issues".
[]
> diff --git a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
[]
> @@ -1754,7 +1754,7 @@ int vchiq_mmal_component_enable(struct vchiq_mmal_instance *instance,
>
> ret = enable_component(instance, component);
> if (ret == 0)
> - component->enabled = true;
> + component->enabled = 1;
This change does not match the commit description.
Also, checkpatch does not emit a warning here.
Powered by blists - more mailing lists