From: John Johansen Date: Sun, 19 Nov 2023 09:14:10 +0000 (-0800) Subject: apparmor: declare nulldfa as static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=735ad5d1532a811d068a731dff46fa02c2185981;p=linux.git 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: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202311092038.lqfYnvmf-lkp@intel.com/ Signed-off-by: John Johansen --- diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index 4981bdf029931..d3d2fc13c6e7c 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -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"