========== build_clang - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:128:13: warning: variable 'val' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 128 | } else if (phy_intf_sel == PHY_INTF_SEL_RGMII) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:142:2: note: uninitialized use occurs here 142 | val |= FIELD_PREP(MACPHYC_PHY_INFT_MASK, phy_intf_sel); | ^~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:128:9: note: remove the 'if' if its condition is always true 128 | } else if (phy_intf_sel == PHY_INTF_SEL_RGMII) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:123:18: note: initialize the variable 'val' to silence this warning 123 | unsigned int val; | ^ | = 0 1 warning generated. New errors added --- /tmp/tmp.HydarN6D4k 2025-11-05 06:27:49.047728683 -0800 +++ /tmp/tmp.UQawW6fyUM 2025-11-05 06:29:04.997992905 -0800 @@ -1,0 +2,14 @@ +../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:128:13: warning: variable 'val' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] + 128 | } else if (phy_intf_sel == PHY_INTF_SEL_RGMII) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:142:2: note: uninitialized use occurs here + 142 | val |= FIELD_PREP(MACPHYC_PHY_INFT_MASK, phy_intf_sel); + | ^~~ +../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:128:9: note: remove the 'if' if its condition is always true + 128 | } else if (phy_intf_sel == PHY_INTF_SEL_RGMII) { + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:123:18: note: initialize the variable 'val' to silence this warning + 123 | unsigned int val; + | ^ + | = 0 +1 warning generated. Per-file breakdown --- /tmp/tmp.GEav8khesv 2025-11-05 06:30:00.040462964 -0800 +++ /tmp/tmp.Yvm6HbMsbp 2025-11-05 06:30:00.045462916 -0800 @@ -0,0 +1 @@ + 2 ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c