Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 240299db authored by Trilok Soni's avatar Trilok Soni
Browse files

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: default avatarTrilok Soni <tsoni@codeaurora.org>
parent d14b0a93
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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