Re: [PATCH net-next 2/9] ila: propagate error code in ila_output

2017-05-21 Thread David Miller
From: Stephen Hemminger Date: Fri, 19 May 2017 09:55:49 -0700 > This warning: > net/ipv6/ila/ila_lwt.c: In function ‘ila_output’: > net/ipv6/ila/ila_lwt.c:42:6: warning: variable ‘err’ set but not used > [-Wunused-but-set-variable] > > It looks like the code attempts to set propagate different

[PATCH net-next 2/9] ila: propagate error code in ila_output

2017-05-19 Thread Stephen Hemminger
This warning: net/ipv6/ila/ila_lwt.c: In function ‘ila_output’: net/ipv6/ila/ila_lwt.c:42:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] It looks like the code attempts to set propagate different error values, but always returned -EINVAL. Compile tested only. Needs revie