../drivers/net/pcs/core.c: In function ‘pcs_unregister’: ../drivers/net/pcs/core.c:373:29: warning: variable ‘wrapped’ set but not used [-Wunused-but-set-variable] 373 | struct phylink_pcs *wrapped; | ^~~~~~~ ../drivers/net/pcs/core.c:58:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:58:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:58:19: struct phylink_pcs * ../drivers/net/pcs/core.c:82:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:82:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:82:19: struct phylink_pcs * ../drivers/net/pcs/core.c:103:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:103:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:103:19: struct phylink_pcs * ../drivers/net/pcs/core.c:125:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:125:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:125:19: struct phylink_pcs * ../drivers/net/pcs/core.c:141:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:141:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:141:19: struct phylink_pcs * ../drivers/net/pcs/core.c:159:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:159:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:159:19: struct phylink_pcs * ../drivers/net/pcs/core.c:175:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:175:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:175:19: struct phylink_pcs * ../drivers/net/pcs/core.c:196:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:196:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:196:19: struct phylink_pcs * ../drivers/net/pcs/core.c:215:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:215:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:215:19: struct phylink_pcs * ../drivers/net/pcs/core.c:231:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:231:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:231:19: struct phylink_pcs * ../drivers/net/pcs/core.c:247:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:247:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:247:19: struct phylink_pcs * ../drivers/net/pcs/core.c:262:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:262:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:262:19: struct phylink_pcs * ../drivers/net/pcs/core.c:277:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:277:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:277:19: struct phylink_pcs * ../drivers/net/pcs/core.c:343:9: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:343:9: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:343:9: struct phylink_pcs * ../drivers/net/pcs/core.c:387:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:387:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:387:19: struct phylink_pcs * ../drivers/net/pcs/core.c:387:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:387:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:387:19: struct phylink_pcs * 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/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" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../drivers/net/pcs/core.c: In function ‘pcs_unregister’: ../drivers/net/pcs/core.c:373:29: warning: variable ‘wrapped’ set but not used [-Wunused-but-set-variable] 373 | struct phylink_pcs *wrapped; | ^~~~~~~ ../drivers/net/pcs/core.c:58:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:58:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:58:19: struct phylink_pcs * ../drivers/net/pcs/core.c:82:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:82:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:82:19: struct phylink_pcs * ../drivers/net/pcs/core.c:103:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:103:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:103:19: struct phylink_pcs * ../drivers/net/pcs/core.c:125:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:125:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:125:19: struct phylink_pcs * ../drivers/net/pcs/core.c:141:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:141:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:141:19: struct phylink_pcs * ../drivers/net/pcs/core.c:159:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:159:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:159:19: struct phylink_pcs * ../drivers/net/pcs/core.c:175:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:175:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:175:19: struct phylink_pcs * ../drivers/net/pcs/core.c:196:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:196:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:196:19: struct phylink_pcs * ../drivers/net/pcs/core.c:215:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:215:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:215:19: struct phylink_pcs * ../drivers/net/pcs/core.c:231:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:231:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:231:19: struct phylink_pcs * ../drivers/net/pcs/core.c:247:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:247:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:247:19: struct phylink_pcs * ../drivers/net/pcs/core.c:262:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:262:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:262:19: struct phylink_pcs * ../drivers/net/pcs/core.c:277:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:277:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:277:19: struct phylink_pcs * ../drivers/net/pcs/core.c:343:9: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:343:9: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:343:9: struct phylink_pcs * ../drivers/net/pcs/core.c:387:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:387:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:387:19: struct phylink_pcs * ../drivers/net/pcs/core.c:387:19: error: incompatible types in comparison expression (different address spaces): ../drivers/net/pcs/core.c:387:19: struct phylink_pcs [noderef] __rcu * ../drivers/net/pcs/core.c:387:19: struct phylink_pcs * ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../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/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 New errors added --- /tmp/tmp.r2l68mLyc6 2025-04-03 14:44:20.211441571 -0700 +++ /tmp/tmp.BiEl0WgCqj 2025-04-03 14:47:22.136728999 -0700 @@ -0,0 +1,53 @@ +../drivers/net/pcs/core.c: In function ‘pcs_unregister’: +../drivers/net/pcs/core.c:373:29: warning: variable ‘wrapped’ set but not used [-Wunused-but-set-variable] + 373 | struct phylink_pcs *wrapped; + | ^~~~~~~ +../drivers/net/pcs/core.c:58:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:58:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:58:19: struct phylink_pcs * +../drivers/net/pcs/core.c:82:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:82:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:82:19: struct phylink_pcs * +../drivers/net/pcs/core.c:103:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:103:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:103:19: struct phylink_pcs * +../drivers/net/pcs/core.c:125:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:125:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:125:19: struct phylink_pcs * +../drivers/net/pcs/core.c:141:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:141:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:141:19: struct phylink_pcs * +../drivers/net/pcs/core.c:159:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:159:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:159:19: struct phylink_pcs * +../drivers/net/pcs/core.c:175:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:175:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:175:19: struct phylink_pcs * +../drivers/net/pcs/core.c:196:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:196:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:196:19: struct phylink_pcs * +../drivers/net/pcs/core.c:215:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:215:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:215:19: struct phylink_pcs * +../drivers/net/pcs/core.c:231:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:231:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:231:19: struct phylink_pcs * +../drivers/net/pcs/core.c:247:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:247:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:247:19: struct phylink_pcs * +../drivers/net/pcs/core.c:262:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:262:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:262:19: struct phylink_pcs * +../drivers/net/pcs/core.c:277:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:277:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:277:19: struct phylink_pcs * +../drivers/net/pcs/core.c:343:9: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:343:9: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:343:9: struct phylink_pcs * +../drivers/net/pcs/core.c:387:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:387:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:387:19: struct phylink_pcs * +../drivers/net/pcs/core.c:387:19: error: incompatible types in comparison expression (different address spaces): +../drivers/net/pcs/core.c:387:19: struct phylink_pcs [noderef] __rcu * +../drivers/net/pcs/core.c:387:19: struct phylink_pcs * +../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit @@ -5 +57,0 @@ -../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit @@ -7,0 +60,7 @@ +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 Per-file breakdown --- /tmp/tmp.FdMGp0YrsL 2025-04-03 14:47:22.142866614 -0700 +++ /tmp/tmp.FzvV3nIbG3 2025-04-03 14:47:22.144866596 -0700 @@ -2,0 +3 @@ + 17 ../drivers/net/pcs/core.c