Re: [PATCH] net/qede/base: fix 32-bit build with GCC 12

2022-10-06 Thread Thomas Monjalon
04/10/2022 13:18, Thomas Monjalon: > A pointer is passed to a macro and it seems mistakenly referenced. > This issue is seen only when compiling with GCC 12 for 32-bit: > > drivers/net/qede/base/ecore_init_fw_funcs.c:1418:25: > error: array subscript 1 is outside array bounds of ‘u32[1]’ >

Re: [PATCH] net/qede/base: fix 32-bit build with GCC 12

2022-10-05 Thread David Marchand
On Tue, Oct 4, 2022 at 1:18 PM Thomas Monjalon wrote: > > A pointer is passed to a macro and it seems mistakenly referenced. > This issue is seen only when compiling with GCC 12 for 32-bit: > > drivers/net/qede/base/ecore_init_fw_funcs.c:1418:25: > error: array subscript 1 is outside array

[PATCH] net/qede/base: fix 32-bit build with GCC 12

2022-10-04 Thread Thomas Monjalon
A pointer is passed to a macro and it seems mistakenly referenced. This issue is seen only when compiling with GCC 12 for 32-bit: drivers/net/qede/base/ecore_init_fw_funcs.c:1418:25: error: array subscript 1 is outside array bounds of ‘u32[1]’ {aka ‘unsigned int[1]’} [-Werror=array