aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/run-clang-tools.py
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2023-01-12 03:05:11 +0000
committerMasahiro Yamada <[email protected]>2023-01-26 03:43:26 +0000
commit8d9acfce33329d1f4b0f0969a9ba884bea7501c6 (patch)
tree1ce7378faf820850b6608a71670afadd9d13e266 /scripts/clang-tools/run-clang-tools.py
parentkbuild: Turn a couple more of clang's unused option warnings into errors (diff)
downloadkernel-8d9acfce33329d1f4b0f0969a9ba884bea7501c6.tar.gz
kernel-8d9acfce33329d1f4b0f0969a9ba884bea7501c6.zip
kbuild: Stop using '-Qunused-arguments' with clang
This option masks all unused command line argument warnings, which can hide potential issues, such as an architecture Makefile adding an unsupported flag to KBUILD_AFLAGS or KBUILD_CFLAGS, which will cause all as-option and cc-options to silently fail due to -Werror with no indication as to why in the main kernel build. Remove this flag so that warnings of this nature can be caught early and obviously in a build. Signed-off-by: Nathan Chancellor <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Tested-by: Linux Kernel Functional Testing <[email protected]> Tested-by: Anders Roxell <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/clang-tools/run-clang-tools.py')
0 files changed, 0 insertions, 0 deletions