========== build_allmodconfig_warn - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:522:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:523:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:524:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:41:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:42:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:43:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:29:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:30:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:31:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:27:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:28:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:29:1: error: bad constant expression Documentation/.renames.txt: warning: ignored by one of the .gitignore files In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c:8: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, from ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:11: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c:8: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c:13: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c:8: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:10: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:14: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:13: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c:8: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c:9:18: warning: symbol 'otx2_trap_items_arr' was not declared. Should it be static? In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c:20: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:13: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:27:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:28:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:29:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:522:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:523:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:524:1: error: bad constant expression In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c:16: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:29:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:30:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:31:1: error: bad constant expression In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c:11: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:10: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/qos.c:12: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:18: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:17: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:22: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:41:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:42:1: error: bad constant expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:43:1: error: bad constant expression New errors added --- /tmp/tmp.4YIPzt0imd 2026-01-14 02:08:57.306241819 -0500 +++ /tmp/tmp.PEuREjVcAQ 2026-01-14 02:10:10.385409543 -0500 @@ -1,0 +2,94 @@ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, + from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c:8: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, + from ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:11: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c:8: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c:13: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c:8: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:10: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:14: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:13: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c:8: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c:9:18: warning: symbol 'otx2_trap_items_arr' was not declared. Should it be static? +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c:20: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:13: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c:16: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c:11: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:10: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/qos.c:12: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:18: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:17: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:31, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:22: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h:30:40: warning: ‘otx2_trap_groups_arr’ defined but not used [-Wunused-const-variable=] + 30 | static const struct devlink_trap_group otx2_trap_groups_arr[] = { + | ^~~~~~~~~~~~~~~~~~~~ Per-file breakdown --- /tmp/tmp.YIJBKsEL8P 2026-01-14 02:10:10.392280778 -0500 +++ /tmp/tmp.KPuFn6vl1E 2026-01-14 02:10:10.403280689 -0500 @@ -0,0 +1,2 @@ + 1 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c + 18 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h