On 5/7/2020 10:45 AM, Raslan Darawsheh wrote:
> With old kernels that don't have support for extended ack
> the variable one is not used which will cause a compilation
> failure:
> drivers/net/tap/tap_netlink.c:48:6:
> error: unused variable 'one' [-Werror=unused-variable]
>   int one = 1;
>       ^~~
> cc1: all warnings being treated as errors
> Fixes: f11e38d90980 ("net/tap: use netlink extended ack support")
> Cc: step...@networkplumber.org
> 
> Signed-off-by: Raslan Darawsheh <rasl...@mellanox.com>

Thanks for reporting and fixing the issue.

Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com>

Squashed into relevant commit in next-net, thanks.

Reply via email to