Re: Linux Warning Report - 5.6-rc3

From: Zzy Wysm
Date: Wed Feb 26 2020 - 20:37:15 EST



> On Feb 25, 2020, at 9:55 PM, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> defconfig isn't very interesting IMO. x86_64 allmodconfig has 1103 warnings
> when using your KCFLAGS string.
> (I am using gcc 7.5.0). What version of gcc are you using?
>

The gcc that comes with either Debian (gcc 8.3.0) or Ubuntu (gcc 9.2.1),
depending on what I use that day.

I agree that defconfig isnât very interesting. But it is the metric that
Linus used when he recently declared his warning mandate:

"we don't have any warnings in the default buildâ

If I do a x86_64 build with a very large config, I get 1139 warnings. The
config I used is:

https://github.com/zzywysm/linux-kernel-compile-warnings/blob/master/almostallconfig-5.6rc3

And the warnings can be found at:

https://github.com/zzywysm/linux-kernel-compile-warnings/blob/master/warninglog-5.6rc3

(Also, thank you Randy for fixing some of these warnings already!)

zzy