[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <def16c9b-7bb1-a454-0896-b063a9e85964@fu-berlin.de>
Date: Fri, 20 Jan 2023 20:29:40 +0100
From: Michael Karcher <kernel@...rcher.dialup.fu-berlin.de>
To: John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>,
Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: linux-kernel@...r.kernel.org, amd-gfx@...ts.freedesktop.org,
linux-arm-kernel@...ts.infradead.org, linux-media@...r.kernel.org,
linux-mips@...r.kernel.org, linux-wireless@...r.kernel.org,
linux-sh@...r.kernel.org, linux-f2fs-devel@...ts.sourceforge.net,
linuxppc-dev@...ts.ozlabs.org, kasan-dev@...glegroups.com,
linux-xtensa@...ux-xtensa.org, Arnd Bergmann <arnd@...db.de>
Subject: Re: Calculating array sizes in C - was: Re: Build
regressions/improvements in v6.2-rc1
Hello Adrian,
> 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.
I filed the bug already. It's
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108483.
The diff is attached. It's published as CC0 in case anyone considers
this trivial change copyrightable. This patch prevents this one specific
warning from being upgraded to "error" even if you configure the kernel
to use "-Werror". It still keeps it active as warning, though.
Kind regards,
Michael Karcher
View attachment "werror.diff" of type "text/plain" (469 bytes)
Powered by blists - more mailing lists