../drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c: In function ‘dwc_eth_dwmac_probe’: ../drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c:355:32: error: implicit declaration of function ‘dwc_eth_find_clk’ [-Wimplicit-function-declaration] 355 | plat_dat->stmmac_clk = dwc_eth_find_clk(plat_dat, | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c:355:30: error: assignment to ‘struct clk *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 355 | plat_dat->stmmac_clk = dwc_eth_find_clk(plat_dat, | ^ make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.o] Error 1 make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/stmicro/stmmac] Error 2 make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/stmicro] Error 2 make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 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[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.wCzoGwXU1k 2025-04-07 19:10:23.092911741 -0700 +++ /tmp/tmp.im3OE88Y6I 2025-04-07 19:10:37.316966347 -0700 @@ -0,0 +1,17 @@ +../drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c: In function ‘dwc_eth_dwmac_probe’: +../drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c:355:32: error: implicit declaration of function ‘dwc_eth_find_clk’ [-Wimplicit-function-declaration] + 355 | plat_dat->stmmac_clk = dwc_eth_find_clk(plat_dat, + | ^~~~~~~~~~~~~~~~ +../drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c:355:30: error: assignment to ‘struct clk *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] + 355 | plat_dat->stmmac_clk = dwc_eth_find_clk(plat_dat, + | ^ +make[8]: *** [../scripts/Makefile.build:207: drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.o] Error 1 +make[7]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/stmicro/stmmac] Error 2 +make[6]: *** [../scripts/Makefile.build:465: drivers/net/ethernet/stmicro] Error 2 +make[5]: *** [../scripts/Makefile.build:465: drivers/net/ethernet] Error 2 +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[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 Per-file breakdown --- /tmp/tmp.CntcWTBeuE 2025-04-07 19:10:37.322747833 -0700 +++ /tmp/tmp.SvS1dgVUVB 2025-04-07 19:10:37.325747799 -0700 @@ -0,0 +1 @@ + 2 ../drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c