========== build_clang - FAILED ../drivers/net/dsa/yt921x.c:2198:2: warning: variable 'ctrl' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 2198 | default: | ^~~~~~~ ../drivers/net/dsa/yt921x.c:2208:2: note: uninitialized use occurs here 2208 | ctrl |= YT921X_PORT_RX_MAC_EN | YT921X_PORT_TX_MAC_EN; | ^~~~ ../drivers/net/dsa/yt921x.c:2179:10: note: initialize the variable 'ctrl' to silence this warning 2179 | u32 ctrl; | ^ | = 0 ../drivers/net/dsa/yt921x.c:2329:3: warning: variable 'ctrl' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 2329 | default: | ^~~~~~~ ../drivers/net/dsa/yt921x.c:2334:17: note: uninitialized use occurs here 2334 | mask, ctrl); | ^~~~ ../drivers/net/dsa/yt921x.c:2287:10: note: initialize the variable 'ctrl' to silence this warning 2287 | u32 ctrl; | ^ | = 0 2 warnings generated. ../drivers/net/dsa/yt921x.c:2198:2: warning: variable 'ctrl' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 2198 | default: | ^~~~~~~ ../drivers/net/dsa/yt921x.c:2208:2: note: uninitialized use occurs here 2208 | ctrl |= YT921X_PORT_RX_MAC_EN | YT921X_PORT_TX_MAC_EN; | ^~~~ ../drivers/net/dsa/yt921x.c:2179:10: note: initialize the variable 'ctrl' to silence this warning 2179 | u32 ctrl; | ^ | = 0 ../drivers/net/dsa/yt921x.c:2329:3: warning: variable 'ctrl' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 2329 | default: | ^~~~~~~ ../drivers/net/dsa/yt921x.c:2334:17: note: uninitialized use occurs here 2334 | mask, ctrl); | ^~~~ ../drivers/net/dsa/yt921x.c:2287:10: note: initialize the variable 'ctrl' to silence this warning 2287 | u32 ctrl; | ^ | = 0 2 warnings generated. New errors added --- /tmp/tmp.HkhrwiAMgj 2025-09-11 23:49:38.668387004 -0700 +++ /tmp/tmp.idSRkfRwkF 2025-09-11 23:53:20.786555873 -0700 @@ -0,0 +1,21 @@ +../drivers/net/dsa/yt921x.c:2198:2: warning: variable 'ctrl' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] + 2198 | default: + | ^~~~~~~ +../drivers/net/dsa/yt921x.c:2208:2: note: uninitialized use occurs here + 2208 | ctrl |= YT921X_PORT_RX_MAC_EN | YT921X_PORT_TX_MAC_EN; + | ^~~~ +../drivers/net/dsa/yt921x.c:2179:10: note: initialize the variable 'ctrl' to silence this warning + 2179 | u32 ctrl; + | ^ + | = 0 +../drivers/net/dsa/yt921x.c:2329:3: warning: variable 'ctrl' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] + 2329 | default: + | ^~~~~~~ +../drivers/net/dsa/yt921x.c:2334:17: note: uninitialized use occurs here + 2334 | mask, ctrl); + | ^~~~ +../drivers/net/dsa/yt921x.c:2287:10: note: initialize the variable 'ctrl' to silence this warning + 2287 | u32 ctrl; + | ^ + | = 0 +2 warnings generated. Per-file breakdown --- /tmp/tmp.1grB4hkidm 2025-09-11 23:56:42.044690413 -0700 +++ /tmp/tmp.q1hdMfrzJG 2025-09-11 23:56:42.047690387 -0700 @@ -0,0 +1 @@ + 4 ../drivers/net/dsa/yt921x.c