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

John Johansen john.johansen at canonical.com
Wed Nov 14 19:44:53 UTC 2018


On 11/14/18 11:40 AM, Petr Vorel wrote:
> 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?
> 
> 
doh!, thanks for catching that, fixed



More information about the AppArmor mailing list