========== build_allmodconfig_warn - FAILED In file included from ../include/linux/device/driver.h:21, from ../include/linux/device.h:32, from ../include/linux/dma-mapping.h:5, from ../include/linux/skbuff.h:28, from ../include/linux/if_ether.h:19, from ../include/linux/ethtool.h:18, from ../include/linux/linkmode.h:5, from ../include/linux/mii.h:13, from ../include/uapi/linux/mdio.h:15, from ../include/linux/mdio.h:9, from ../drivers/net/pcs/pcs-xilinx.c:34: ../drivers/net/pcs/pcs-xilinx.c:421:25: error: ‘xilinx_timer_of_match’ undeclared here (not in a function); did you mean ‘xilinx_pcs_of_match’? 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:15: note: in definition of macro ‘MODULE_DEVICE_TABLE’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~ ../drivers/net/pcs/pcs-xilinx.c:463:21: error: redefinition of ‘axienet_xilinx_pcs_get’ 463 | struct phylink_pcs *axienet_xilinx_pcs_get(struct device *dev, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/pcs/pcs-xilinx.c:37: ../include/linux/pcs-xilinx.h:30:1: note: previous definition of ‘axienet_xilinx_pcs_get’ with type ‘struct phylink_pcs *(struct device *, const long unsigned int *)’ 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:21: error: ‘__mod_device_table__of__xilinx_timer_of_match’ aliased to undefined symbol ‘xilinx_timer_of_match’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/pcs/pcs-xilinx.c:421:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’ 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:207: drivers/net/pcs/pcs-xilinx.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1997: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../kernel/sys.c:1114:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1114:32: expected struct task_struct *p1 ../kernel/sys.c:1114:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1864:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:428:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ld: vmlinux.o: in function `pcs_get_by_fwnode_compat.cold': core.c:(.text.unlikely+0x157c95): undefined reference to `fwnode_mdio_find_device' make[3]: *** [../scripts/Makefile.vmlinux:77: vmlinux] Error 1 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1234: vmlinux] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../kernel/sys.c:1114:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1114:32: expected struct task_struct *p1 ../kernel/sys.c:1114:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1864:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit In file included from ../include/linux/device/driver.h:21, from ../include/linux/device.h:32, from ../include/linux/dma-mapping.h:5, from ../include/linux/skbuff.h:28, from ../include/linux/if_ether.h:19, from ../include/linux/ethtool.h:18, from ../include/linux/linkmode.h:5, from ../include/linux/mii.h:13, from ../include/uapi/linux/mdio.h:15, from ../include/linux/mdio.h:9, from ../drivers/net/pcs/pcs-xilinx.c:34: ../drivers/net/pcs/pcs-xilinx.c:421:25: error: ‘xilinx_timer_of_match’ undeclared here (not in a function); did you mean ‘xilinx_pcs_of_match’? 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:15: note: in definition of macro ‘MODULE_DEVICE_TABLE’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~ ../drivers/net/pcs/pcs-xilinx.c:463:21: error: redefinition of ‘axienet_xilinx_pcs_get’ 463 | struct phylink_pcs *axienet_xilinx_pcs_get(struct device *dev, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/pcs/pcs-xilinx.c:37: ../include/linux/pcs-xilinx.h:30:1: note: previous definition of ‘axienet_xilinx_pcs_get’ with type ‘struct phylink_pcs *(struct device *, const long unsigned int *)’ 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/module.h:250:21: error: ‘__mod_device_table__of__xilinx_timer_of_match’ aliased to undefined symbol ‘xilinx_timer_of_match’ 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/pcs/pcs-xilinx.c:421:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’ 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~ make[6]: *** [../scripts/Makefile.build:207: drivers/net/pcs/pcs-xilinx.o] Error 1 make[5]: *** [../scripts/Makefile.build:465: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:428:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1997: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.Gle76vzqgQ 2025-04-03 15:02:57.781139833 -0700 +++ /tmp/tmp.TToKIDZ4k6 2025-04-03 15:03:21.744501391 -0700 @@ -5,0 +6,35 @@ +In file included from ../include/linux/device/driver.h:21, + from ../include/linux/device.h:32, + from ../include/linux/dma-mapping.h:5, + from ../include/linux/skbuff.h:28, + from ../include/linux/if_ether.h:19, + from ../include/linux/ethtool.h:18, + from ../include/linux/linkmode.h:5, + from ../include/linux/mii.h:13, + from ../include/uapi/linux/mdio.h:15, + from ../include/linux/mdio.h:9, + from ../drivers/net/pcs/pcs-xilinx.c:34: +../drivers/net/pcs/pcs-xilinx.c:421:25: error: ‘xilinx_timer_of_match’ undeclared here (not in a function); did you mean ‘xilinx_pcs_of_match’? + 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); + | ^~~~~~~~~~~~~~~~~~~~~ +../include/linux/module.h:250:15: note: in definition of macro ‘MODULE_DEVICE_TABLE’ + 250 | extern typeof(name) __mod_device_table__##type##__##name \ + | ^~~~ +../drivers/net/pcs/pcs-xilinx.c:463:21: error: redefinition of ‘axienet_xilinx_pcs_get’ + 463 | struct phylink_pcs *axienet_xilinx_pcs_get(struct device *dev, + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from ../drivers/net/pcs/pcs-xilinx.c:37: +../include/linux/pcs-xilinx.h:30:1: note: previous definition of ‘axienet_xilinx_pcs_get’ with type ‘struct phylink_pcs *(struct device *, const long unsigned int *)’ + 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/module.h:250:21: error: ‘__mod_device_table__of__xilinx_timer_of_match’ aliased to undefined symbol ‘xilinx_timer_of_match’ + 250 | extern typeof(name) __mod_device_table__##type##__##name \ + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/pcs/pcs-xilinx.c:421:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’ + 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); + | ^~~~~~~~~~~~~~~~~~~ +make[6]: *** [../scripts/Makefile.build:207: drivers/net/pcs/pcs-xilinx.o] Error 1 +make[5]: *** [../scripts/Makefile.build:465: drivers/net/pcs] Error 2 +make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:465: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -8,5 +43,3 @@ -ld: vmlinux.o: in function `pcs_get_by_fwnode_compat.cold': -core.c:(.text.unlikely+0x157c95): undefined reference to `fwnode_mdio_find_device' -make[3]: *** [../scripts/Makefile.vmlinux:77: vmlinux] Error 1 -make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1234: vmlinux] Error 2 -make[2]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:465: drivers] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1997: .] Error 2 Per-file breakdown --- /tmp/tmp.vBV9FvZ4yP 2025-04-03 15:03:21.751628763 -0700 +++ /tmp/tmp.hpts3GfeDy 2025-04-03 15:03:21.754628738 -0700 @@ -2,0 +3,2 @@ + 2 ../drivers/net/pcs/pcs-xilinx.c + 1 ../include/linux/module.h