]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: silence build warning when !CONFIG_BUG
authorEric Paris <eparis@redhat.com>
Wed, 20 Apr 2011 14:21:28 +0000 (10:21 -0400)
committerEric Paris <eparis@redhat.com>
Mon, 25 Apr 2011 14:18:27 +0000 (10:18 -0400)
commit8f8a1874316ea12e2fc0eec04087ce07dddc23c5
treef61c3da7460bb5ab39353404456d92e005e9000e
parent98e5b7187b7dd0016ec2afd34ed9cd2ff8993775
SELinux: silence build warning when !CONFIG_BUG

If one builds a kernel without CONFIG_BUG there are a number of 'may be
used uninitialized' warnings.  Silence these by returning after the BUG().

Signed-off-by: Eric Paris <eparis@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c
security/selinux/netnode.c