mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
extrawarn: enable format and stringop overflow warnings in W=1
The stringop and format warnings got disabled globally when they were newly introduced in commitbd664f6b3e("disable new gcc-7.1.1 warnings for now"),217c3e0196("disable stringop truncation warnings for now") and5a76021c2e("gcc-10: disable 'stringop-overflow' warning for now"). In all cases, the sentiment at the time was that the warnings are useful, and we actually addressed a number of real bugs based on them, but we never managed to eliminate them all because even the build bots using W=1 builds only see the -Wstringop-truncation warnings that are enabled at that level. Move these into the W=1 section to give them a larger build coverage and actually eliminate them over time. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
2cd3271b7a
commit
6d4ab2e97d
1 changed files with 6 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue