../scripts/Makefile.build:194: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ld: net/ethtool/linkstate.o: in function `linkstate_prepare_data': linkstate.c:(.text+0x153): undefined reference to `phy_ethtool_get_link_ext_stats' ld: net/ethtool/stats.o: in function `stats_prepare_data': stats.c:(.text+0x1f8): undefined reference to `phy_ethtool_get_phy_stats' make[3]: *** [../scripts/Makefile.vmlinux:77: vmlinux] Error 1 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1225: vmlinux] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../scripts/Makefile.build:194: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:194: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ ld: net/ethtool/linkstate.o: in function `linkstate_prepare_data': linkstate.c:(.text+0x153): undefined reference to `phy_ethtool_get_link_ext_stats' ld: net/ethtool/stats.o: in function `stats_prepare_data': stats.c:(.text+0x1f8): undefined reference to `phy_ethtool_get_phy_stats' make[3]: *** [../scripts/Makefile.vmlinux:77: vmlinux] Error 1 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1225: vmlinux] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2