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: [email protected]
>
> Signed-off-by: Raslan Darawsheh <[email protected]>
Thanks for reporting and fixing the issue.
Reviewed-by: Ferruh Yigit <[email protected]>
Squashed into relevant commit in next-net, thanks.