../drivers/net/ethernet/spacemit/k1_emac.c:1218:3: warning: variable 'result' is uninitialized when used here [-Wuninitialized] 1218 | result += READ_ONCE(per_cpu(*priv->stat_tx_dropped, cpu)); | ^~~~~~ ../drivers/net/ethernet/spacemit/k1_emac.c:1214:12: note: initialize the variable 'result' to silence this warning 1214 | u64 result; | ^ | = 0 1 warning generated. ../drivers/net/ethernet/spacemit/k1_emac.c:1218:3: warning: variable 'result' is uninitialized when used here [-Wuninitialized] 1218 | result += READ_ONCE(per_cpu(*priv->stat_tx_dropped, cpu)); | ^~~~~~ ../drivers/net/ethernet/spacemit/k1_emac.c:1214:12: note: initialize the variable 'result' to silence this warning 1214 | u64 result; | ^ | = 0 1 warning generated. New errors added --- /tmp/tmp.prel4USKxS 2025-09-08 06:10:48.347860665 -0700 +++ /tmp/tmp.Sk64bID2la 2025-09-08 06:17:02.617948353 -0700 @@ -0,0 +1,8 @@ +../drivers/net/ethernet/spacemit/k1_emac.c:1218:3: warning: variable 'result' is uninitialized when used here [-Wuninitialized] + 1218 | result += READ_ONCE(per_cpu(*priv->stat_tx_dropped, cpu)); + | ^~~~~~ +../drivers/net/ethernet/spacemit/k1_emac.c:1214:12: note: initialize the variable 'result' to silence this warning + 1214 | u64 result; + | ^ + | = 0 +1 warning generated. Per-file breakdown --- /tmp/tmp.8b14EbDvVV 2025-09-08 06:20:22.681774542 -0700 +++ /tmp/tmp.GoYiwyzmYh 2025-09-08 06:20:22.684774514 -0700 @@ -0,0 +1 @@ + 2 ../drivers/net/ethernet/spacemit/k1_emac.c