========== build_allmodconfig_warn - FAILED ../drivers/net/pcs/pcs-lynx.c:414:36: warning: ‘lynx_properties’ defined but not used [-Wunused-const-variable=] 414 | static const struct property_entry lynx_properties[] = { | ^~~~~~~~~~~~~~~ ../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ERROR: modpost: "mdio_device_bus_match" [drivers/net/pcs/pcs-lynx.ko] undefined! make[3]: *** [../scripts/Makefile.modpost:147: Module.symvers] Error 1 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1947: modpost] 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 ../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../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 ../drivers/net/pcs/pcs-lynx.c:414:36: warning: ‘lynx_properties’ defined but not used [-Wunused-const-variable=] 414 | static const struct property_entry lynx_properties[] = { | ^~~~~~~~~~~~~~~ ../scripts/Makefile.build:207: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../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" ERROR: modpost: "mdio_device_bus_match" [drivers/net/pcs/pcs-lynx.ko] undefined! make[3]: *** [../scripts/Makefile.modpost:147: Module.symvers] Error 1 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1947: modpost] 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.QkFcTgzU6W 2025-04-03 14:53:22.311077445 -0700 +++ /tmp/tmp.vvvsiGBis8 2025-04-03 14:54:26.339310786 -0700 @@ -5,0 +6,3 @@ +../drivers/net/pcs/pcs-lynx.c:414:36: warning: ‘lynx_properties’ defined but not used [-Wunused-const-variable=] + 414 | static const struct property_entry lynx_properties[] = { + | ^~~~~~~~~~~~~~~ @@ -9,5 +12,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.... +ERROR: modpost: "mdio_device_bus_match" [drivers/net/pcs/pcs-lynx.ko] undefined! +make[3]: *** [../scripts/Makefile.modpost:147: Module.symvers] Error 1 +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1947: modpost] Error 2 Per-file breakdown --- /tmp/tmp.ih4s6Qfw6R 2025-04-03 14:54:26.345220204 -0700 +++ /tmp/tmp.kkRd3j6rSy 2025-04-03 14:54:26.348220179 -0700 @@ -2,0 +3 @@ + 1 ../drivers/net/pcs/pcs-lynx.c