../drivers/net/dsa/yt921x.c:2354:3: warning: variable 'ctrl' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 2354 | default: | ^~~~~~~ ../drivers/net/dsa/yt921x.c:2359:17: note: uninitialized use occurs here 2359 | mask, ctrl); | ^~~~ ../drivers/net/dsa/yt921x.c:2312:10: note: initialize the variable 'ctrl' to silence this warning 2312 | u32 ctrl; | ^ | = 0 1 warning generated. ../drivers/net/dsa/yt921x.c:2354:3: warning: variable 'ctrl' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 2354 | default: | ^~~~~~~ ../drivers/net/dsa/yt921x.c:2359:17: note: uninitialized use occurs here 2359 | mask, ctrl); | ^~~~ ../drivers/net/dsa/yt921x.c:2312:10: note: initialize the variable 'ctrl' to silence this warning 2312 | u32 ctrl; | ^ | = 0 1 warning generated. New errors added --- /tmp/tmp.JwOqc0VKXx 2025-09-12 22:53:18.076100478 -0700 +++ /tmp/tmp.zfPGwRaTli 2025-09-12 22:57:07.169347320 -0700 @@ -0,0 +1,11 @@ +../drivers/net/dsa/yt921x.c:2354:3: warning: variable 'ctrl' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] + 2354 | default: + | ^~~~~~~ +../drivers/net/dsa/yt921x.c:2359:17: note: uninitialized use occurs here + 2359 | mask, ctrl); + | ^~~~ +../drivers/net/dsa/yt921x.c:2312:10: note: initialize the variable 'ctrl' to silence this warning + 2312 | u32 ctrl; + | ^ + | = 0 +1 warning generated. Per-file breakdown --- /tmp/tmp.FwJq6Am77h 2025-09-12 23:00:03.268563302 -0700 +++ /tmp/tmp.SKDtwOst3y 2025-09-12 23:00:03.271563276 -0700 @@ -0,0 +1 @@ + 2 ../drivers/net/dsa/yt921x.c