Kbuild: warning options cleanup and more warnings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Kbuild: only pass -fno-inline-functions-called-once for gccMakefile | +1 | 2 replies | |
| 2/9 | Kbuild: consolidate warning flags in scripts/Makefile.extrawarnMakefile scripts/ | +90 | 4 replies | |
| 3/9 | Kbuild: avoid duplicate warning optionsscripts/ | +26 | 3 replies | |
| 4/9 | extrawarn: don't turn off -Wshift-negative-value for gcc-9scripts/ | +3 | 1 reply | |
| 5/9 | extrawarn: enable format and stringop overflow warnings in W=1scripts/ | +6 | 3 replies | |
| 6/9 | extrawarn: move -Wrestrict into W=1 warningsscripts/ | +2 | 2 replies | |
| 7/9 | extrawarn: do not disable -Wmain at W=1 levelscripts/ | +2 | 0 replies | |
| 8/9 | extrawarn: enable more warnings in W=2scripts/ | +8 | 0 replies | |
| 9/9 | extrawarn: enable more W=1 warnings by defaultscripts/ | +9 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] Kbuild: warning options cleanup and more warnings
From: Arnd Bergmann <[email protected]>
This is a series I've had in my randconfig test tree for a long time, and I'd like to get these patches applied in mainline so I can stop rebasing them on top of other changes, as well as get fewer regressions.
There are roughly three groups of changes in here:
1. Clean up the Makefile and Makefile.extrawarn to be organized more logically so we can see which warnings are actually enabled at which level
2. Enable some of the warnings that have traditionally been disabled at either the W=1 or W=2 levels where they arguably should have been to start with
3. Enable some of the W=1 warnings by default now that the warnings we got in the past have been addressed.
I sent the -Wmissing-prototypes enablement separately, since that is really the big one that probably found the most bugs but also still caused the most warnings until my recent cleanups.
Along the same lines as that other series, I would hope that we can get the first eight patches into the merge window, but should probably give the last patch another release in linux-next before any remaining output has been addressed and we can apply it.
Arnd
Arnd Bergmann (9):
Kbuild: only pass -fno-inline-functions-called-once for gcc
Kbuild: consolidate warning flags in scripts/Makefile.extrawarn
Kbuild: avoid duplicate warning options
extrawarn: don't turn off -Wshift-negative-value for gcc-9
extrawarn: enable format and stringop overflow warnings in W=1
extrawarn: move -Wrestrict into W=1 warnings
extrawarn: do not disable -Wmain at W=1 level
extrawarn: enable more warnings in W=2
[RFC] extrawarn: enable more W=1 warnings by default
Makefile | 90 +------------------------ scripts/Makefile.extrawarn | 133 ++++++++++++++++++++++++++++++++----- 2 files changed, 118 insertions(+), 105 deletions(-)
Signature · 11 lines
2.39.2 Cc: Masahiro Yamada <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Nick Desaulniers <[email protected]> Cc: Nicolas Schier <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: Lee Jones <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: [email protected] Cc: [email protected]