[apparmor] [PATCH 1/1] apparmor: Fix warning about unused function apparmor_ipv6_postroute

Petr Vorel pvorel at suse.cz
Mon Nov 12 11:02:42 UTC 2018


> 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,
>                      ^~~~~~~~~~~~~~~~~~~~~~~

> Signed-off-by: Petr Vorel <pvorel at suse.cz>

There should have been:
Reported-by: Jordan Glover <Golden_Miller83 at protonmail.ch>

If merging, please add it.


Kind regards,
Petr



More information about the AppArmor mailing list