]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: Fix warning about unused function apparmor_ipv6_postroute
authorPetr Vorel <pvorel@suse.cz>
Mon, 12 Nov 2018 10:59:12 +0000 (11:59 +0100)
committerJohn Johansen <john.johansen@canonical.com>
Fri, 1 Feb 2019 12:12:57 +0000 (04:12 -0800)
commitf0ae28a031ee44f8ed390e6c8d499737a500a7f9
tree415a53e262e76721ce6e0e5077fa310ea2252a40
parentd91626f54a165744819401f5b3002fdda9213631
apparmor: Fix warning about unused function apparmor_ipv6_postroute

when compiled without CONFIG_IPV6:
security/apparmor/lsm.c:1601:21: warning: â€˜apparmor_ipv6_postroute’ defined but not used [-Wunused-function]
 static unsigned int apparmor_ipv6_postroute(void *priv,
                     ^~~~~~~~~~~~~~~~~~~~~~~

Reported-by: Jordan Glover <Golden_Miller83@protonmail.ch>
Tested-by: Jordan Glover <Golden_Miller83@protonmail.ch>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c