Re: [PATCH net-next] ip_vti: Fix unused variable warning

2020-08-10 Thread Steffen Klassert
On Fri, Jul 31, 2020 at 02:49:52PM +0800, YueHaibing wrote: > If CONFIG_INET_XFRM_TUNNEL is set but CONFIG_IPV6 is n, > > net/ipv4/ip_vti.c:493:27: warning: 'vti_ipip6_handler' defined but not used > [-Wunused-variable] > > Signed-off-by: YueHaibing Now applied to the ipsec tree, thanks!

Re: [PATCH net-next] ip_vti: Fix unused variable warning

2020-08-05 Thread David Miller
From: Steffen Klassert Date: Tue, 4 Aug 2020 07:53:10 +0200 > On Mon, Aug 03, 2020 at 03:13:49PM -0700, David Miller wrote: >> From: YueHaibing >> Date: Fri, 31 Jul 2020 14:49:52 +0800 >> >> > If CONFIG_INET_XFRM_TUNNEL is set but CONFIG_IPV6 is n, >> > >> > net/ipv4/ip_vti.c:493:27: warning:

Re: [PATCH net-next] ip_vti: Fix unused variable warning

2020-08-03 Thread Steffen Klassert
On Mon, Aug 03, 2020 at 03:13:49PM -0700, David Miller wrote: > From: YueHaibing > Date: Fri, 31 Jul 2020 14:49:52 +0800 > > > If CONFIG_INET_XFRM_TUNNEL is set but CONFIG_IPV6 is n, > > > > net/ipv4/ip_vti.c:493:27: warning: 'vti_ipip6_handler' defined but not used > > [-Wunused-variable] > >

Re: [PATCH net-next] ip_vti: Fix unused variable warning

2020-08-03 Thread David Miller
From: YueHaibing Date: Fri, 31 Jul 2020 14:49:52 +0800 > If CONFIG_INET_XFRM_TUNNEL is set but CONFIG_IPV6 is n, > > net/ipv4/ip_vti.c:493:27: warning: 'vti_ipip6_handler' defined but not used > [-Wunused-variable] > > Signed-off-by: YueHaibing Steffen, please pick this up if you haven't alr

Re: [PATCH net-next] ip_vti: Fix unused variable warning

2020-07-31 Thread Xin Long
On Fri, Jul 31, 2020 at 2:50 PM YueHaibing wrote: > > If CONFIG_INET_XFRM_TUNNEL is set but CONFIG_IPV6 is n, > > net/ipv4/ip_vti.c:493:27: warning: 'vti_ipip6_handler' defined but not used > [-Wunused-variable] > > Signed-off-by: YueHaibing Fixes: 55a48c7ec75a ("ip_vti: not register vti_ipip_ha

[PATCH net-next] ip_vti: Fix unused variable warning

2020-07-30 Thread YueHaibing
If CONFIG_INET_XFRM_TUNNEL is set but CONFIG_IPV6 is n, net/ipv4/ip_vti.c:493:27: warning: 'vti_ipip6_handler' defined but not used [-Wunused-variable] Signed-off-by: YueHaibing --- net/ipv4/ip_vti.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ipv4/ip_vti.c b/net/ipv4/ip_vti.c in