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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2106,7 +2106,7 @@ __initcall(apparmor_nf_ip_init);
static char nulldfa_src[] = {
	#include "nulldfa.in"
};
struct aa_dfa *nulldfa;
static struct aa_dfa *nulldfa;

static char stacksplitdfa_src[] = {
	#include "stacksplitdfa.in"