aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2025-02-19 16:21:14 +0000
committerJakub Kicinski <[email protected]>2025-02-21 01:38:02 +0000
commitca57d1c56f4015d83fe7840b41d74783ee900b28 (patch)
tree4dec1c63c497499e845d5ca7322f4bf5eb4264ed /tools/testing/selftests/net/lib/py/utils.py
parentnet: phy: qt2025: Fix hardware revision check comment (diff)
downloadkernel-ca57d1c56f4015d83fe7840b41d74783ee900b28.tar.gz
kernel-ca57d1c56f4015d83fe7840b41d74783ee900b28.zip
octeontx2: hide unused label
A previous patch introduces a build-time warning when CONFIG_DCB is disabled: drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c: In function 'otx2_probe': drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:3217:1: error: label 'err_free_zc_bmap' defined but not used [-Werror=unused-label] drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c: In function 'otx2vf_probe': drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:740:1: error: label 'err_free_zc_bmap' defined but not used [-Werror=unused-label] Add the same #ifdef check around it. Fixes: efabce290151 ("octeontx2-pf: AF_XDP zero copy receive support") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Suman Ghosh <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions