apparmor: Mark alloc_unconfined() as static
authorSouptick Joarder (HPE) <jrdr.linux@gmail.com>
Tue, 19 Jul 2022 02:12:18 +0000 (07:42 +0530)
committerJohn Johansen <john.johansen@canonical.com>
Tue, 19 Jul 2022 09:38:34 +0000 (02:38 -0700)
commita3f215ef088f1fc3e751dc9a5fa4c1a22f16212b
tree8f1830f7a007fceca5463910bd3c3ee819802f40
parent524d8e14258a3c31bcaf915db5762e41249eb924
apparmor: Mark alloc_unconfined() as static

Kernel test robot throws below warning ->
security/apparmor/policy_ns.c:83:20: warning: no previous prototype
for function 'alloc_unconfined' [-Wmissing-prototypes]

Mark it as static.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder (HPE) <jrdr.linux@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/policy_ns.c