mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
scripts: headers_install: Turn CONFIG_* leak checker to report error
By default CONFIG_* user-space leak checker marks it as warning but we should mark them as error so that we can catch such usage at the compile time itself. Change-Id: I5f14f7f881e46843f2e0cc0957fc0b730e76aa93 Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
This commit is contained in:
parent
d14b0a93fa
commit
240299db4d
1 changed files with 2 additions and 1 deletions
|
|
@ -112,7 +112,8 @@ do
|
|||
done
|
||||
|
||||
if [ "$warn" = 1 ]; then
|
||||
echo "warning: $INFILE: leak $c to user-space" >&2
|
||||
echo "error: $INFILE: leak $c to user-space" >&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue