========== build_clang - FAILED ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:210:6: warning: unused variable 'err' [-Wunused-variable] 210 | int err; | ^~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:369:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 369 | if (data->probe) | ^~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:371:6: note: uninitialized use occurs here 371 | if (ret < 0) { | ^~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:369:2: note: remove the 'if' if its condition is always true 369 | if (data->probe) | ^~~~~~~~~~~~~~~~ 370 | ret = data->probe(pdev, plat_dat, &stmmac_res); ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:343:9: note: initialize the variable 'ret' to silence this warning 343 | int ret; | ^ | = 0 ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:153:12: warning: unused function 'dwc_qos_probe' [-Wunused-function] 153 | static int dwc_qos_probe(struct platform_device *pdev, | ^~~~~~~~~~~~~ 3 warnings generated. ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:210:6: warning: unused variable 'err' [-Wunused-variable] 210 | int err; | ^~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:369:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 369 | if (data->probe) | ^~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:371:6: note: uninitialized use occurs here 371 | if (ret < 0) { | ^~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:369:2: note: remove the 'if' if its condition is always true 369 | if (data->probe) | ^~~~~~~~~~~~~~~~ 370 | ret = data->probe(pdev, plat_dat, &stmmac_res); ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:343:9: note: initialize the variable 'ret' to silence this warning 343 | int ret; | ^ | = 0 ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:153:12: warning: unused function 'dwc_qos_probe' [-Wunused-function] 153 | static int dwc_qos_probe(struct platform_device *pdev, | ^~~~~~~~~~~~~ 3 warnings generated. New errors added --- /tmp/tmp.OePTj7gPU9 2025-05-27 21:52:56.586405773 -0700 +++ /tmp/tmp.FDQbmCHOZq 2025-05-27 21:58:10.157586637 -0700 @@ -0,0 +1,21 @@ +../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:210:6: warning: unused variable 'err' [-Wunused-variable] + 210 | int err; + | ^~~ +../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:369:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] + 369 | if (data->probe) + | ^~~~~~~~~~~ +../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:371:6: note: uninitialized use occurs here + 371 | if (ret < 0) { + | ^~~ +../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:369:2: note: remove the 'if' if its condition is always true + 369 | if (data->probe) + | ^~~~~~~~~~~~~~~~ + 370 | ret = data->probe(pdev, plat_dat, &stmmac_res); +../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:343:9: note: initialize the variable 'ret' to silence this warning + 343 | int ret; + | ^ + | = 0 +../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c:153:12: warning: unused function 'dwc_qos_probe' [-Wunused-function] + 153 | static int dwc_qos_probe(struct platform_device *pdev, + | ^~~~~~~~~~~~~ +3 warnings generated. Per-file breakdown --- /tmp/tmp.TTYVT1Lcpt 2025-05-27 22:01:14.720929101 -0700 +++ /tmp/tmp.srhQJneIjZ 2025-05-27 22:01:14.723929075 -0700 @@ -0,0 +1 @@ + 4 ../drivers/net/ethernet/stmicro/stmmac/dwmac-eic7700.c