========== build_allmodconfig_warn - FAILED ld: vmlinux.o: in function `marvell_phy_ptp_irq': (.text+0x2b073c9): undefined reference to `marvell_ts_irq' ld: vmlinux.o: in function `marvell_phy_ts_port_modify': marvell_ptp.c:(.text+0x2b07489): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_modify': marvell_ptp.c:(.text+0x2b0753d): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_hw_disable': marvell_ptp.c:(.text+0x2b075f4): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_hw_enable': marvell_ptp.c:(.text+0x2b07671): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_ts_port_write': marvell_ptp.c:(.text+0x2b07700): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_tai_write': marvell_ptp.c:(.text+0x2b077b2): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_ts_global_write': marvell_ptp.c:(.text+0x2b07832): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_ts_port_read_ts': marvell_ptp.c:(.text+0x2b0792d): undefined reference to `phy_select_page' ld: marvell_ptp.c:(.text+0x2b07968): undefined reference to `phy_restore_page' ld: marvell_ptp.c:(.text+0x2b079d1): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07a97): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07b58): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07c1c): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07cc3): undefined reference to `__mdiobus_write' ld: vmlinux.o: in function `marvell_phy_tai_aux_work': marvell_ptp.c:(.text+0x2b07e7d): undefined reference to `marvell_ts_aux_work' ld: vmlinux.o: in function `marvell_phy_tai_clock_read': marvell_ptp.c:(.text+0x2b07f2b): undefined reference to `phy_select_page' ld: marvell_ptp.c:(.text+0x2b07f67): undefined reference to `phy_restore_page' ld: marvell_ptp.c:(.text+0x2b08083): undefined reference to `__mdiobus_write' ld: marvell_ptp.c:(.text+0x2b0810d): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b08163): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b081d6): undefined reference to `__mdiobus_write' ld: vmlinux.o: in function `marvell_phy_ptp_ts_info': marvell_ptp.c:(.text+0x2b08328): undefined reference to `marvell_ts_info' ld: vmlinux.o: in function `marvell_phy_ptp_hwtstamp_get': marvell_ptp.c:(.text+0x2b083a8): undefined reference to `marvell_ts_hwtstamp_get' ld: vmlinux.o: in function `marvell_phy_ptp_hwtstamp': marvell_ptp.c:(.text+0x2b08432): undefined reference to `marvell_ts_hwtstamp_set' ld: vmlinux.o: in function `marvell_phy_ptp_txtstamp': marvell_ptp.c:(.text+0x2b0854d): undefined reference to `marvell_ts_txtstamp' ld: vmlinux.o: in function `marvell_phy_ptp_rxtstamp': marvell_ptp.c:(.text+0x2b08632): undefined reference to `marvell_ts_rxtstamp' ld: vmlinux.o: in function `devm_marvell_phy_ptp_probe': (.text+0x2b087ee): undefined reference to `devm_marvell_tai_probe' ld: (.text+0x2b0885c): undefined reference to `marvell_ts_global_config' ld: (.text+0x2b08887): undefined reference to `phy_write_paged' ld: (.text+0x2b088c1): undefined reference to `devm_marvell_ts_probe' make[3]: *** [../scripts/Makefile.vmlinux:91: vmlinux.unstripped] Error 1 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1244: vmlinux] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../drivers/net/dsa/mv88e6xxx/ptp.c: In function ‘mv88e6352_ptp_enable_extts’: ../drivers/net/dsa/mv88e6xxx/ptp.c:353:13: warning: unused variable ‘func’ [-Wunused-variable] 353 | int func; | ^~~~ ld: vmlinux.o: in function `marvell_phy_ptp_irq': (.text+0x2b073c9): undefined reference to `marvell_ts_irq' ld: vmlinux.o: in function `marvell_phy_ts_port_modify': marvell_ptp.c:(.text+0x2b07489): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_modify': marvell_ptp.c:(.text+0x2b0753d): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_hw_disable': marvell_ptp.c:(.text+0x2b075f4): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_hw_enable': marvell_ptp.c:(.text+0x2b07671): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_ts_port_write': marvell_ptp.c:(.text+0x2b07700): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_tai_write': marvell_ptp.c:(.text+0x2b077b2): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_ts_global_write': marvell_ptp.c:(.text+0x2b07832): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_ts_port_read_ts': marvell_ptp.c:(.text+0x2b0792d): undefined reference to `phy_select_page' ld: marvell_ptp.c:(.text+0x2b07968): undefined reference to `phy_restore_page' ld: marvell_ptp.c:(.text+0x2b079d1): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07a97): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07b58): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07c1c): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07cc3): undefined reference to `__mdiobus_write' ld: vmlinux.o: in function `marvell_phy_tai_aux_work': marvell_ptp.c:(.text+0x2b07e7d): undefined reference to `marvell_ts_aux_work' ld: vmlinux.o: in function `marvell_phy_tai_clock_read': marvell_ptp.c:(.text+0x2b07f2b): undefined reference to `phy_select_page' ld: marvell_ptp.c:(.text+0x2b07f67): undefined reference to `phy_restore_page' ld: marvell_ptp.c:(.text+0x2b08083): undefined reference to `__mdiobus_write' ld: marvell_ptp.c:(.text+0x2b0810d): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b08163): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b081d6): undefined reference to `__mdiobus_write' ld: vmlinux.o: in function `marvell_phy_ptp_ts_info': marvell_ptp.c:(.text+0x2b08328): undefined reference to `marvell_ts_info' ld: vmlinux.o: in function `marvell_phy_ptp_hwtstamp_get': marvell_ptp.c:(.text+0x2b083a8): undefined reference to `marvell_ts_hwtstamp_get' ld: vmlinux.o: in function `marvell_phy_ptp_hwtstamp': marvell_ptp.c:(.text+0x2b08432): undefined reference to `marvell_ts_hwtstamp_set' ld: vmlinux.o: in function `marvell_phy_ptp_txtstamp': marvell_ptp.c:(.text+0x2b0854d): undefined reference to `marvell_ts_txtstamp' ld: vmlinux.o: in function `marvell_phy_ptp_rxtstamp': marvell_ptp.c:(.text+0x2b08632): undefined reference to `marvell_ts_rxtstamp' ld: vmlinux.o: in function `devm_marvell_phy_ptp_probe': (.text+0x2b087ee): undefined reference to `devm_marvell_tai_probe' ld: (.text+0x2b0885c): undefined reference to `marvell_ts_global_config' ld: (.text+0x2b08887): undefined reference to `phy_write_paged' ld: (.text+0x2b088c1): undefined reference to `devm_marvell_ts_probe' make[3]: *** [../scripts/Makefile.vmlinux:91: vmlinux.unstripped] Error 1 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1244: vmlinux] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.dWWKWorilX 2025-09-18 17:19:23.814231643 -0700 +++ /tmp/tmp.FSCd1t0PMq 2025-09-18 17:20:39.097721238 -0700 @@ -0,0 +1,4 @@ +../drivers/net/dsa/mv88e6xxx/ptp.c: In function ‘mv88e6352_ptp_enable_extts’: +../drivers/net/dsa/mv88e6xxx/ptp.c:353:13: warning: unused variable ‘func’ [-Wunused-variable] + 353 | int func; + | ^~~~ Per-file breakdown --- /tmp/tmp.xXbZvw4JD3 2025-09-18 17:20:39.103776079 -0700 +++ /tmp/tmp.lEKOZPAB4d 2025-09-18 17:20:39.106776061 -0700 @@ -0,0 +1 @@ + 1 ../drivers/net/dsa/mv88e6xxx/ptp.c