../drivers/net/pcs/core.c:373:22: warning: variable 'wrapped' set but not used [-Wunused-but-set-variable] 373 | struct phylink_pcs *wrapped; | ^ 1 warning generated. ld.lld: error: undefined symbol: fwnode_mdio_find_device >>> referenced by core.c:651 (/home/nipa/net-next/wt-0/build_clang/../drivers/net/pcs/core.c:651) >>> vmlinux.o:(pcs_get_by_fwnode_compat) 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 drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() ../drivers/net/pcs/core.c:373:22: warning: variable 'wrapped' set but not used [-Wunused-but-set-variable] 373 | struct phylink_pcs *wrapped; | ^ 1 warning generated. drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() ld.lld: error: undefined symbol: fwnode_mdio_find_device >>> referenced by core.c:651 (/home/nipa/net-next/wt-0/build_clang/../drivers/net/pcs/core.c:651) >>> vmlinux.o:(pcs_get_by_fwnode_compat) 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.7iOvH9bdel 2025-04-03 13:51:36.922154106 -0700 +++ /tmp/tmp.Mn4Uk1xDjO 2025-04-03 13:55:00.549340908 -0700 @@ -0,0 +1,4 @@ +../drivers/net/pcs/core.c:373:22: warning: variable 'wrapped' set but not used [-Wunused-but-set-variable] + 373 | struct phylink_pcs *wrapped; + | ^ +1 warning generated. @@ -1,0 +6,8 @@ +ld.lld: error: undefined symbol: fwnode_mdio_find_device +>>> referenced by core.c:651 (/home/nipa/net-next/wt-0/build_clang/../drivers/net/pcs/core.c:651) +>>> vmlinux.o:(pcs_get_by_fwnode_compat) +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.ns1hD39Bp5 2025-04-03 13:55:00.553910110 -0700 +++ /tmp/tmp.NJp3LYj8aK 2025-04-03 13:55:00.557910076 -0700 @@ -0,0 +1 @@ + 1 ../drivers/net/pcs/core.c