tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c:41:2: warning: variable 'rate' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 41 | default: | ^~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c:46:36: note: uninitialized use occurs here 46 | ret = clk_set_rate(dwmac->clk_tx, rate); | ^~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c:28:20: note: initialize the variable 'rate' to silence this warning 28 | unsigned long rate; | ^ | = 0 1 warning generated. tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() ../drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c:41:2: warning: variable 'rate' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 41 | default: | ^~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c:46:36: note: uninitialized use occurs here 46 | ret = clk_set_rate(dwmac->clk_tx, rate); | ^~~~ ../drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c:28:20: note: initialize the variable 'rate' to silence this warning 28 | unsigned long rate; | ^ | = 0 1 warning generated. New errors added --- /tmp/tmp.AjygJabqY8 2024-10-21 04:21:39.417007959 -0700 +++ /tmp/tmp.M4obJguAUJ 2024-10-21 04:26:26.425531702 -0700 @@ -4,0 +5,11 @@ +../drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c:41:2: warning: variable 'rate' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] + 41 | default: + | ^~~~~~~ +../drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c:46:36: note: uninitialized use occurs here + 46 | ret = clk_set_rate(dwmac->clk_tx, rate); + | ^~~~ +../drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c:28:20: note: initialize the variable 'rate' to silence this warning + 28 | unsigned long rate; + | ^ + | = 0 +1 warning generated. Per-file breakdown --- /tmp/tmp.IyPzrqrvRf 2024-10-21 04:29:17.708056650 -0700 +++ /tmp/tmp.FKhD1Ae3Jz 2024-10-21 04:29:17.712056616 -0700 @@ -0,0 +1 @@ + 2 ../drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c