aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome
diff options
context:
space:
mode:
authorMatthieu Baerts <matthieu.baerts@tessares.net>2021-07-22 09:55:04 +0200
committerDavid S. Miller <davem@davemloft.net>2021-07-22 02:23:47 -0700
commit176f716cb72fea93d60cb378a3e02d4b630b93c2 (patch)
treeae231eb9257efb9250f3854452614ffd725209da /drivers/net/ethernet/netronome
parentMerge branch 'nfp-flower-ct-offload' (diff)
downloadlinux-dev-176f716cb72fea93d60cb378a3e02d4b630b93c2.tar.xz
linux-dev-176f716cb72fea93d60cb378a3e02d4b630b93c2.zip
ipv6: fix "'ioam6_if_id_max' defined but not used" warn
When compiling without CONFIG_SYSCTL, this warning appears: net/ipv6/addrconf.c:99:12: error: 'ioam6_if_id_max' defined but not used [-Werror=unused-variable] 99 | static u32 ioam6_if_id_max = U16_MAX; | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Simply moving the declaration of this variable under ... #ifdef CONFIG_SYSCTL ... with other similar variables fixes the issue. Fixes: 9ee11f0fff20 ("ipv6: ioam: Data plane support for Pre-allocated Trace") Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome')
0 files changed, 0 insertions, 0 deletions