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

Petr Vorel pvorel at suse.cz
Wed Nov 14 19:40:12 UTC 2018


Hi John,

> On 11/12/18 2:59 AM, Petr Vorel wrote:
> > 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>

> thanks Petr, and Jordan, I have pulled this into apparmor-next and will push it up

Thanks for merging.
You put twice Reported-by: Jordan Glover <Golden_Miller83 at protonmail.ch>, one of
them should have been Tested-by: Jordan Glover <Golden_Miller83 at protonmail.ch>.
Can you please fix it?


Kind regards,
Petr

[1] https://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor.git/commit/?h=apparmor-next&id=94bb75bf6756e148233dd6df0a6ef58a21f829fc



More information about the AppArmor mailing list