From: James Morris Date: Mon, 29 Aug 2011 01:15:25 +0000 (+1000) Subject: apparmor: sparse fix: add apparmor.h to lib.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32c3df631bc018109136a8f4f941ad591e76a0aa;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 --- diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c index b82e383beb77..9516948041ad 100644 --- a/security/apparmor/lib.c +++ b/security/apparmor/lib.c @@ -18,6 +18,7 @@ #include #include "include/audit.h" +#include "include/apparmor.h" /**