diff options
| author | Nathan Chancellor <[email protected]> | 2023-01-12 03:05:10 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2023-01-26 03:43:19 +0000 |
| commit | db1547c56886742283d7566c872f89cbad76a14c (patch) | |
| tree | 6a9157b6dd050b22bbb91434b96b1667ba37e1c8 /scripts/clang-tools/run-clang-tools.py | |
| parent | drm/amd/display: Do not add '-mhard-float' to dml_ccflags for clang (diff) | |
| download | kernel-db1547c56886742283d7566c872f89cbad76a14c.tar.gz kernel-db1547c56886742283d7566c872f89cbad76a14c.zip | |
kbuild: Turn a couple more of clang's unused option warnings into errors
Currently, these warnings are hidden with -Qunused-arguments in
KBUILD_CPPFLAGS. Once that option is removed, these warnings should be
turned into hard errors to make unconditionally added but unsupported
flags for the current compilation mode or target obvious due to a failed
build; otherwise, the warnings might just be ignored if the build log is
not checked.
Link: https://github.com/ClangBuiltLinux/linux/issues/1587
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
