Commit 735ad5d1 authored by John Johansen's avatar John Johansen

apparmor: declare nulldfa as static

With the conversion to a refcounted pdb the nulldfa is now only used
in security/apparmor/lsm.c so declar it as static.
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311092038.lqfYnvmf-lkp@intel.com/Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 3c49ce0e
...@@ -2106,7 +2106,7 @@ __initcall(apparmor_nf_ip_init); ...@@ -2106,7 +2106,7 @@ __initcall(apparmor_nf_ip_init);
static char nulldfa_src[] = { static char nulldfa_src[] = {
#include "nulldfa.in" #include "nulldfa.in"
}; };
struct aa_dfa *nulldfa; static struct aa_dfa *nulldfa;
static char stacksplitdfa_src[] = { static char stacksplitdfa_src[] = {
#include "stacksplitdfa.in" #include "stacksplitdfa.in"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment