diff options
author | John Johansen <john.johansen@canonical.com> | 2023-11-19 12:14:10 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2023-11-19 12:14:10 +0300 |
commit | 735ad5d1532a811d068a731dff46fa02c2185981 (patch) | |
tree | 17ab0d56e1879bf012e347cfd4c6427ccce42116 /security/apparmor | |
parent | 3c49ce0e220912406a478ac128657672608200a0 (diff) | |
download | linux-735ad5d1532a811d068a731dff46fa02c2185981.tar.xz |
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311092038.lqfYnvmf-lkp@intel.com/
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor')
-rw-r--r-- | security/apparmor/lsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index 4981bdf02993..d3d2fc13c6e7 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" |