Re: [PATCH] netfilter: turn NF_HOOK into an inline function

2015-10-09 Thread Eric W. Biederman
Arnd Bergmann writes: > A recent change to the dst_output handling caused a new warning > when the call to NF_HOOK() is the only used of a local variable > passed as 'dev', and CONFIG_NETFILTER is disabled: > > net/ipv6/ip6_output.c: In function 'ip6_output': > net/ipv6/ip6_output.c:135:21: warni

Re: [PATCH] netfilter: turn NF_HOOK into an inline function

2015-10-09 Thread Eric W. Biederman
Arnd Bergmann writes: > On Friday 09 October 2015 21:03:57 kbuild test robot wrote: >> ^1da177e Linus Torvalds2005-04-16 818 cb->rt_flags &= ~DN_RT_F_IE; >> ^1da177e Linus Torvalds2005-04-16 819 if (rt->rt_flags & >> RTCF_DOREDIRECT) >> ^1da177e Linus Torvalds2005-04-16

Re: [PATCH] netfilter: turn NF_HOOK into an inline function

2015-10-09 Thread Arnd Bergmann
On Friday 09 October 2015 21:03:57 kbuild test robot wrote: > ^1da177e Linus Torvalds2005-04-16 818 cb->rt_flags &= ~DN_RT_F_IE; > ^1da177e Linus Torvalds2005-04-16 819 if (rt->rt_flags & > RTCF_DOREDIRECT) > ^1da177e Linus Torvalds2005-04-16 820 cb->rt_flags

Re: [PATCH] netfilter: turn NF_HOOK into an inline function

2015-10-09 Thread kbuild test robot
Hi Arnd, [auto build test ERROR on next-20151009 -- if it's inappropriate base, please ignore] config: i386-randconfig-i0-201540 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): net/decnet/

[PATCH] netfilter: turn NF_HOOK into an inline function

2015-10-09 Thread Arnd Bergmann
A recent change to the dst_output handling caused a new warning when the call to NF_HOOK() is the only used of a local variable passed as 'dev', and CONFIG_NETFILTER is disabled: net/ipv6/ip6_output.c: In function 'ip6_output': net/ipv6/ip6_output.c:135:21: warning: unused variable 'dev' [-Wunused