Re: [PATCH] drm/kmb: fix array bounds warning

From: Sam Ravnborg
Date: Sat Dec 05 2020 - 15:00:43 EST


Hi Anitha,
On Mon, Nov 30, 2020 at 10:19:13PM +0000, Chrisanthus, Anitha wrote:
> Hi Arnd,
> Thanks for your patch.
>
> > -----Original Message-----
> > From: Arnd Bergmann <arnd@xxxxxxxxxx>
> > Sent: Sunday, November 29, 2020 12:09 PM
> > To: Chrisanthus, Anitha <anitha.chrisanthus@xxxxxxxxx>; Dea, Edmund J
> > <edmund.j.dea@xxxxxxxxx>; David Airlie <airlied@xxxxxxxx>; Daniel Vetter
> > <daniel@xxxxxxxx>; Sam Ravnborg <sam@xxxxxxxxxxxx>
> > Cc: Arnd Bergmann <arnd@xxxxxxxx>; lkp <lkp@xxxxxxxxx>; dri-
> > devel@xxxxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> > Subject: [PATCH] drm/kmb: fix array bounds warning
> >
> > From: Arnd Bergmann <arnd@xxxxxxxx>
> >
> > gcc warns about an out-of-bounds access when the using nonzero
> > values for 'plane_id' on kmb->plane_status:
...

> Looks good.
>
> Reviewed-by: Anitha Chrisanthus <anitha.chrisanthus@xxxxxxxxx>

You wanted a little time to get comforable with dim, so I picked up this
patch and pushed it to drm-misc-next.

Sam