../drivers/net/pcs/pcs-xilinx.c:313:2: warning: label at end of compound statement is a C23 extension [-Wc23-extensions] 313 | } | ^ ../drivers/net/pcs/pcs-xilinx.c:421:25: error: use of undeclared identifier 'xilinx_timer_of_match'; did you mean 'xilinx_pcs_of_match'? 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~~~ | xilinx_pcs_of_match ../include/linux/module.h:250:15: note: expanded from macro 'MODULE_DEVICE_TABLE' 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^ ../drivers/net/pcs/pcs-xilinx.c:417:34: note: 'xilinx_pcs_of_match' declared here 417 | static const struct of_device_id xilinx_pcs_of_match[] = { | ^ ../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, | ^ ../include/linux/pcs-xilinx.h:30:1: note: previous definition is here 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) | ^ 1 warning and 2 errors generated. 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 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 ../drivers/net/pcs/pcs-xilinx.c:313:2: warning: label at end of compound statement is a C23 extension [-Wc23-extensions] 313 | } | ^ ../drivers/net/pcs/pcs-xilinx.c:421:25: error: use of undeclared identifier 'xilinx_timer_of_match'; did you mean 'xilinx_pcs_of_match'? 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); | ^~~~~~~~~~~~~~~~~~~~~ | xilinx_pcs_of_match ../include/linux/module.h:250:15: note: expanded from macro 'MODULE_DEVICE_TABLE' 250 | extern typeof(name) __mod_device_table__##type##__##name \ | ^ ../drivers/net/pcs/pcs-xilinx.c:417:34: note: 'xilinx_pcs_of_match' declared here 417 | static const struct of_device_id xilinx_pcs_of_match[] = { | ^ ../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, | ^ ../include/linux/pcs-xilinx.h:30:1: note: previous definition is here 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) | ^ 1 warning and 2 errors generated. 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.... drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() 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 New errors added --- /tmp/tmp.ZHiOau8Ago 2025-04-03 14:19:03.953727072 -0700 +++ /tmp/tmp.6HYaPLENUo 2025-04-03 14:19:33.468796376 -0700 @@ -0,0 +1,23 @@ +../drivers/net/pcs/pcs-xilinx.c:313:2: warning: label at end of compound statement is a C23 extension [-Wc23-extensions] + 313 | } + | ^ +../drivers/net/pcs/pcs-xilinx.c:421:25: error: use of undeclared identifier 'xilinx_timer_of_match'; did you mean 'xilinx_pcs_of_match'? + 421 | MODULE_DEVICE_TABLE(of, xilinx_timer_of_match); + | ^~~~~~~~~~~~~~~~~~~~~ + | xilinx_pcs_of_match +../include/linux/module.h:250:15: note: expanded from macro 'MODULE_DEVICE_TABLE' + 250 | extern typeof(name) __mod_device_table__##type##__##name \ + | ^ +../drivers/net/pcs/pcs-xilinx.c:417:34: note: 'xilinx_pcs_of_match' declared here + 417 | static const struct of_device_id xilinx_pcs_of_match[] = { + | ^ +../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, + | ^ +../include/linux/pcs-xilinx.h:30:1: note: previous definition is here + 30 | axienet_xilinx_pcs_get(struct device *dev, const unsigned long *interfaces) + | ^ +1 warning and 2 errors generated. +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.... @@ -2,6 +25,5 @@ -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[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 Per-file breakdown --- /tmp/tmp.hG8YNzT3Yv 2025-04-03 14:19:33.474282153 -0700 +++ /tmp/tmp.0CX2xPjqDE 2025-04-03 14:19:33.477282127 -0700 @@ -0,0 +1 @@ + 3 ../drivers/net/pcs/pcs-xilinx.c