Re: [PATCH] media: omap3isp: fix out-of-range warning

Arnd Bergmann
2021-11-25T07:45:20Z

On Wed, Nov 24, 2021 at 11:26 PM Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:
> On Wed, Nov 24, 2021 at 08:24:15PM +0100, Arnd Bergmann wrote:
> >
> > Add a cast to 32-bit to avoid the warning. Checking just the lower bounds
> > would be sufficient as well, but it seems more consistent to use
> > the IS_OUT_OF_BOUNDS() check for all members.
>
> Mauro has submitted a fix that handles the cast in the
> IS_OUT_OF_BOUNDS() macro, see
> https://lore.kernel.org/all/b70f819b11e024649f113be1158f34b24914a1ed.1637573097.git.mchehab+huawei@kernel.org/.

Ok, thanks. I've marked my patch as 'Obsoleted' in patchwork now.

Arnd