diff options
author | James Morris <jmorris@namei.org> | 2011-08-29 22:09:15 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-09 19:56:31 -0400 |
commit | 6a3fbe81179c85eb53054a0f4c8423ffec0276a7 (patch) | |
tree | b281fee66a005236bbdedf5f22eeacc37669ba4a /security/selinux/netlink.c | |
parent | ad3fa08c4ff84ed87649d72e8497735c85561a3d (diff) |
selinux: sparse fix: fix warnings in netlink code
Fix sparse warnings in SELinux Netlink code.
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/netlink.c')
-rw-r--r-- | security/selinux/netlink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c index 36ac257cec9a..ce3f481558d8 100644 --- a/security/selinux/netlink.c +++ b/security/selinux/netlink.c | |||
@@ -19,6 +19,8 @@ | |||
19 | #include <linux/selinux_netlink.h> | 19 | #include <linux/selinux_netlink.h> |
20 | #include <net/net_namespace.h> | 20 | #include <net/net_namespace.h> |
21 | 21 | ||
22 | #include "security.h" | ||
23 | |||
22 | static struct sock *selnl; | 24 | static struct sock *selnl; |
23 | 25 | ||
24 | static int selnl_msglen(int msgtype) | 26 | static int selnl_msglen(int msgtype) |