Re: [PATCH] drm/imagination: fix ARRAY_SIZE build error

2024-01-18 Thread Randy Dunlap
Hi Matt, On 1/18/24 01:38, Matt Coster wrote: > On 10/01/2024 00:23, Randy Dunlap wrote: >> Fix a build error when using GCC 13.2.0 from kernel.org crosstools >> by changing ARRAY_SIZE() to the macro PVR_MIPS_PT_PAGE_COUNT: > > I assume you're referring to the x86_64 => aarch64 toolchain here? Y

Re: [PATCH] drm/imagination: fix ARRAY_SIZE build error

2024-01-18 Thread Matt Coster
On 10/01/2024 00:23, Randy Dunlap wrote: Fix a build error when using GCC 13.2.0 from kernel.org crosstools by changing ARRAY_SIZE() to the macro PVR_MIPS_PT_PAGE_COUNT: I assume you're referring to the x86_64 => aarch64 toolchain here? drivers/gpu/drm/imagination/pvr_vm_mips.c: In function '

[PATCH] drm/imagination: fix ARRAY_SIZE build error

2024-01-09 Thread Randy Dunlap
Fix a build error when using GCC 13.2.0 from kernel.org crosstools by changing ARRAY_SIZE() to the macro PVR_MIPS_PT_PAGE_COUNT: drivers/gpu/drm/imagination/pvr_vm_mips.c: In function 'pvr_vm_mips_fini': ../include/linux/array_size.h:11:25: warning: overflow in conversion from 'long unsigned int'