RE: [PATCH] drm/kmb: Fix for build errors with Warray-bounds

2022-01-27 Thread Chrisanthus, Anitha
ts.freedesktop.org; s...@canb.auug.org.au > Subject: Re: [PATCH] drm/kmb: Fix for build errors with Warray-bounds > > On Thu, Jan 27, 2022 at 11:42:27AM -0800, Anitha Chrisanthus wrote: > > This fixes the following build error > > > > drivers/gpu/drm/kmb/kmb_plane.c: In function

Re: [PATCH] drm/kmb: Fix for build errors with Warray-bounds

2022-01-27 Thread Kees Cook
On Thu, Jan 27, 2022 at 11:42:27AM -0800, Anitha Chrisanthus wrote: > This fixes the following build error > > drivers/gpu/drm/kmb/kmb_plane.c: In function 'kmb_plane_atomic_disable': > drivers/gpu/drm/kmb/kmb_plane.c:165:34: error: array subscript 3 is > above array bounds of 'struct layer_status