../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../net/core/netdev-genl.c: In function ‘netdev_nl_dev_fill’: ../include/net/xdp.h:585:28: error: ‘NETDEV_XDP_RX_METADATA_QUEUE_INDEX’ undeclared (first use in this function); did you mean ‘NETDEV_XDP_RX_METADATA_VLAN_TAG’? 585 | NETDEV_XDP_RX_METADATA_QUEUE_INDEX, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/netdev-genl.c:49:32: note: in definition of macro ‘XDP_METADATA_KFUNC’ 49 | xdp_rx_meta |= flag; | ^~~~ ../net/core/netdev-genl.c:50:1: note: in expansion of macro ‘XDP_METADATA_KFUNC_xxx’ 50 | XDP_METADATA_KFUNC_xxx | ^~~~~~~~~~~~~~~~~~~~~~ ../include/net/xdp.h:585:28: note: each undeclared identifier is reported only once for each function it appears in 585 | NETDEV_XDP_RX_METADATA_QUEUE_INDEX, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/netdev-genl.c:49:32: note: in definition of macro ‘XDP_METADATA_KFUNC’ 49 | xdp_rx_meta |= flag; | ^~~~ ../net/core/netdev-genl.c:50:1: note: in expansion of macro ‘XDP_METADATA_KFUNC_xxx’ 50 | XDP_METADATA_KFUNC_xxx | ^~~~~~~~~~~~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:287: net/core/netdev-genl.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch make[4]: *** [../scripts/Makefile.build:556: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:556: net] Error 2 make[3]: *** Waiting for unfinished jobs.... ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2011: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.EJAecaFDVr 2025-09-23 13:11:39.197183738 -0700 +++ /tmp/tmp.kMu9F4ILAU 2025-09-23 13:12:27.270047621 -0700 @@ -0,0 +1,21 @@ +../net/core/netdev-genl.c: In function ‘netdev_nl_dev_fill’: +../include/net/xdp.h:585:28: error: ‘NETDEV_XDP_RX_METADATA_QUEUE_INDEX’ undeclared (first use in this function); did you mean ‘NETDEV_XDP_RX_METADATA_VLAN_TAG’? + 585 | NETDEV_XDP_RX_METADATA_QUEUE_INDEX, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../net/core/netdev-genl.c:49:32: note: in definition of macro ‘XDP_METADATA_KFUNC’ + 49 | xdp_rx_meta |= flag; + | ^~~~ +../net/core/netdev-genl.c:50:1: note: in expansion of macro ‘XDP_METADATA_KFUNC_xxx’ + 50 | XDP_METADATA_KFUNC_xxx + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/net/xdp.h:585:28: note: each undeclared identifier is reported only once for each function it appears in + 585 | NETDEV_XDP_RX_METADATA_QUEUE_INDEX, \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../net/core/netdev-genl.c:49:32: note: in definition of macro ‘XDP_METADATA_KFUNC’ + 49 | xdp_rx_meta |= flag; + | ^~~~ +../net/core/netdev-genl.c:50:1: note: in expansion of macro ‘XDP_METADATA_KFUNC_xxx’ + 50 | XDP_METADATA_KFUNC_xxx + | ^~~~~~~~~~~~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:287: net/core/netdev-genl.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -2 +23,3 @@ -../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new +make[4]: *** [../scripts/Makefile.build:556: net/core] Error 2 +make[3]: *** [../scripts/Makefile.build:556: net] Error 2 +make[3]: *** Waiting for unfinished jobs.... @@ -3,0 +27,4 @@ +../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2011: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.oApONbgntW 2025-09-23 13:12:27.277236057 -0700 +++ /tmp/tmp.QLwNcUtTyZ 2025-09-23 13:12:27.281236032 -0700 @@ -0,0 +1 @@ + 1 ../include/net/xdp.h