Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:117:13: warning: variable 'val' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 117 | } else if (phy_intf_sel == PHY_INTF_SEL_RGMII) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:131:2: note: uninitialized use occurs here 131 | val |= FIELD_PREP(MACPHYC_PHY_INFT_MASK, phy_intf_sel); | ^~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:117:9: note: remove the 'if' if its condition is always true 117 | } else if (phy_intf_sel == PHY_INTF_SEL_RGMII) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:112:18: note: initialize the variable 'val' to silence this warning 112 | unsigned int val; | ^ | = 0 1 warning generated. Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:117:13: warning: variable 'val' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 117 | } else if (phy_intf_sel == PHY_INTF_SEL_RGMII) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:131:2: note: uninitialized use occurs here 131 | val |= FIELD_PREP(MACPHYC_PHY_INFT_MASK, phy_intf_sel); | ^~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:117:9: note: remove the 'if' if its condition is always true 117 | } else if (phy_intf_sel == PHY_INTF_SEL_RGMII) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c:112:18: note: initialize the variable 'val' to silence this warning 112 | unsigned int val; | ^ | = 0 1 warning generated.