Re: [EXTERNAL] Re: [PATCH 2/2] drm/imagination: avoid -Woverflow warning

2023-11-29 Thread Donald Robson
On Wed, 2023-11-29 at 13:04 +0100, Arnd Bergmann wrote: > *** CAUTION: This email originates from a source not known to Imagination > Technologies. Think before you click a link or open an attachment *** > > On Wed, Nov 29, 2023, at 13:01, Donald Robson wrote: > > Hello Arnd, > > > > Thanks for

Re: [PATCH 2/2] drm/imagination: avoid -Woverflow warning

2023-11-29 Thread Arnd Bergmann
On Wed, Nov 29, 2023, at 13:01, Donald Robson wrote: > Hello Arnd, > > Thanks for the patch. I'm slightly concerned that we've not seen this > warning when > building here. I guess we need to check our CI settings... > > Reviewed-by: Donald Robson This was previously enabled only when building

Re: [PATCH 2/2] drm/imagination: avoid -Woverflow warning

2023-11-29 Thread Donald Robson
Hello Arnd, Thanks for the patch. I'm slightly concerned that we've not seen this warning when building here. I guess we need to check our CI settings... Reviewed-by: Donald Robson On Wed, 2023-11-29 at 12:33 +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The array size calculation

[PATCH 2/2] drm/imagination: avoid -Woverflow warning

2023-11-29 Thread Arnd Bergmann
From: Arnd Bergmann The array size calculation in pvr_vm_mips_fini() appears to be incorrect based on taking the size of the pointer rather than the size of the array, which manifests as a warning about signed integer overflow: In file included from include/linux/kernel.h:16,