Re: [PATCH v1 net-next 1/1] net: Mark possible unused variables on stack with __maybe_unused

From: Jakub Kicinski
Date: Mon Oct 04 2021 - 21:24:17 EST


On Fri, 1 Oct 2021 17:50:56 +0300 Andy Shevchenko wrote:
> When compile with COMPILE_TEST=y the -Werror is implied.
> If we run `make W=1` the first level warnings will become
> the build errors. Some of them related to possible unused
> variables. Hence, to allow clean build in such case, mark
> them with __maybe_unused.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

You need to split the socket and fib change from the netfilter ones.
Those go via different sub-trees.