]> git.baikalelectronics.ru Git - kernel.git/commit
Makefile.extrawarn: remove -Wnested-externs warning
authorArnd Bergmann <arnd@arndb.de>
Tue, 24 Nov 2020 15:43:17 +0000 (16:43 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 8 Dec 2020 14:30:05 +0000 (23:30 +0900)
commit3a9a64e2e6c6cf03a4d49826e0de699abe7c52da
treed3290241fcea25e71e72b5f746774117e183d6d1
parentae6377b53f071fa5d1bdf2fc402646d77011863a
Makefile.extrawarn: remove -Wnested-externs warning

The -Wnested-externs warning has become useless with gcc, since
this warns every time that BUILD_BUG_ON() or similar macros
are used.

With clang, the warning option does nothing to start with, so
just remove it entirely.

Suggested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.extrawarn