summaryrefslogtreecommitdiff
path: root/security/selinux/nlmsgtab.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-30 14:18:06 +1000
committerEric Paris <eparis@redhat.com>2012-01-05 18:52:51 -0500
commit02f5daa563456c1ff3c3422aa3ec00e67460f762 (patch)
treeb2394602c587815aae9f1b07ac272302800d9288 /security/selinux/nlmsgtab.c
parente8a65a3f67f8a85802c0a0250e48c4c4652d0da0 (diff)
selinux: sparse fix: fix warnings in netlink code
Fix sparse warnings in SELinux Netlink code. Signed-off-by: James Morris <jmorris@namei.org> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux/nlmsgtab.c')
-rw-r--r--security/selinux/nlmsgtab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c
index 8b02b2137da2..0920ea3bf599 100644
--- a/security/selinux/nlmsgtab.c
+++ b/security/selinux/nlmsgtab.c
@@ -21,6 +21,7 @@
#include "flask.h"
#include "av_permissions.h"
+#include "security.h"
struct nlmsg_perm {
u16 nlmsg_type;