MFC r268774:
After r261991, clang warnings about unused functions in the kernel were completely silenced. Make sure these warnings appear again, so there is some incentive to fix them, but do not error out the whole kernel build for them. Noticed by: steven@pyro.eu.org PR: 191867
This commit is contained in:
parent
c62a7a5557
commit
7c6dab81e9
@ -29,7 +29,7 @@ NO_WSOMETIMES_UNINITIALIZED= -Wno-error-sometimes-uninitialized
|
||||
# enough to error out the whole kernel build. Display them anyway, so there is
|
||||
# some incentive to fix them eventually.
|
||||
CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
|
||||
-Wno-error-parentheses-equality -Wno-unused-function \
|
||||
-Wno-error-parentheses-equality -Wno-error-unused-function \
|
||||
${NO_WFORMAT}
|
||||
.endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user