summaryrefslogtreecommitdiffstats
path: root/security/apparmor
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-29 11:15:25 +1000
committerJames Morris <jmorris@namei.org>2011-09-09 16:56:28 -0700
commit32c3df631bc018109136a8f4f941ad591e76a0aa (patch)
tree60768d4a7ba8278f01873f36b1787b35fcf188f1 /security/apparmor
parent33f8bf588070e84bb29c3a726758dbb5791fc95e (diff)
downloadop-kernel-dev-32c3df631bc018109136a8f4f941ad591e76a0aa.zip
op-kernel-dev-32c3df631bc018109136a8f4f941ad591e76a0aa.tar.gz
apparmor: sparse fix: add apparmor.h to lib.c
Fix the following sparse warnings: security/apparmor/lib.c:37:6: warning: symbol 'aa_split_fqname' was not declared. Should it be static? security/apparmor/lib.c:63:6: warning: symbol 'aa_info_message' was not declared. Should it be static? security/apparmor/lib.c:83:6: warning: symbol 'kvmalloc' was not declared. Should it be static? security/apparmor/lib.c:123:6: warning: symbol 'kvfree' was not declared. Should it be static? Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/apparmor')
-rw-r--r--security/apparmor/lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c
index b82e383..9516948 100644
--- a/security/apparmor/lib.c
+++ b/security/apparmor/lib.c
@@ -18,6 +18,7 @@
#include <linux/vmalloc.h>
#include "include/audit.h"
+#include "include/apparmor.h"
/**
OpenPOWER on IntegriCloud