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
MFC after:	3 days
This commit is contained in:
Dimitry Andric 2014-07-16 20:37:03 +00:00
parent dab496863c
commit cfe17cfcac

View File

@ -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