Calculating array sizes in C - was: Re: Build regressions/improvements in v6.2-rc1
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Fri Jan 20 00:49:00 PST 2023
Hi Michael!
On 1/19/23 23:11, Michael.Karcher wrote:
> I suggest to file a bug against gcc complaining about a "spurious warning",
> and using "-Werror -Wno-error-sizeof-pointer-div" until gcc is adapted to
> not emit the warning about the pointer division if the result is not used.
Could you post a kernel patch for that? I would be happy to test it on my
SH-7785CLR board. Also, I'm going to file a bug report against GCC.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the linux-arm-kernel
mailing list