.pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/macsec.c:1187:6: warning: variable 'rx_sc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1187 | if (!sci) | ^~~~ ../drivers/net/macsec.c:1311:18: note: uninitialized use occurs here 1311 | macsec_rxsc_put(rx_sc); | ^~~~~ ../drivers/net/macsec.c:1187:2: note: remove the 'if' if its condition is always false 1187 | if (!sci) | ^~~~~~~~~ 1188 | goto drop; | ~~~~~~~~~ ../drivers/net/macsec.c:1130:28: note: initialize the variable 'rx_sc' to silence this warning 1130 | struct macsec_rx_sc *rx_sc; | ^ | = NULL ../drivers/net/macsec.c:1187:6: warning: variable 'rx_sa' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1187 | if (!sci) | ^~~~ ../drivers/net/macsec.c:1309:18: note: uninitialized use occurs here 1309 | macsec_rxsa_put(rx_sa); | ^~~~~ ../drivers/net/macsec.c:1187:2: note: remove the 'if' if its condition is always false 1187 | if (!sci) | ^~~~~~~~~ 1188 | goto drop; | ~~~~~~~~~ ../drivers/net/macsec.c:1131:28: note: initialize the variable 'rx_sa' to silence this warning 1131 | struct macsec_rx_sa *rx_sa; | ^ | = NULL 2 warnings generated. .pylintrc: warning: ignored by one of the .gitignore files .pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/macsec.c:1187:6: warning: variable 'rx_sc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1187 | if (!sci) | ^~~~ ../drivers/net/macsec.c:1311:18: note: uninitialized use occurs here 1311 | macsec_rxsc_put(rx_sc); | ^~~~~ ../drivers/net/macsec.c:1187:2: note: remove the 'if' if its condition is always false 1187 | if (!sci) | ^~~~~~~~~ 1188 | goto drop; | ~~~~~~~~~ ../drivers/net/macsec.c:1130:28: note: initialize the variable 'rx_sc' to silence this warning 1130 | struct macsec_rx_sc *rx_sc; | ^ | = NULL ../drivers/net/macsec.c:1187:6: warning: variable 'rx_sa' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 1187 | if (!sci) | ^~~~ ../drivers/net/macsec.c:1309:18: note: uninitialized use occurs here 1309 | macsec_rxsa_put(rx_sa); | ^~~~~ ../drivers/net/macsec.c:1187:2: note: remove the 'if' if its condition is always false 1187 | if (!sci) | ^~~~~~~~~ 1188 | goto drop; | ~~~~~~~~~ ../drivers/net/macsec.c:1131:28: note: initialize the variable 'rx_sa' to silence this warning 1131 | struct macsec_rx_sa *rx_sa; | ^ | = NULL 2 warnings generated. New errors added --- /tmp/tmp.wq00iBEUUV 2025-06-04 04:41:11.113259353 -0700 +++ /tmp/tmp.LUi651bhU2 2025-06-04 04:42:21.992712002 -0700 @@ -1,0 +2,31 @@ +../drivers/net/macsec.c:1187:6: warning: variable 'rx_sc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 1187 | if (!sci) + | ^~~~ +../drivers/net/macsec.c:1311:18: note: uninitialized use occurs here + 1311 | macsec_rxsc_put(rx_sc); + | ^~~~~ +../drivers/net/macsec.c:1187:2: note: remove the 'if' if its condition is always false + 1187 | if (!sci) + | ^~~~~~~~~ + 1188 | goto drop; + | ~~~~~~~~~ +../drivers/net/macsec.c:1130:28: note: initialize the variable 'rx_sc' to silence this warning + 1130 | struct macsec_rx_sc *rx_sc; + | ^ + | = NULL +../drivers/net/macsec.c:1187:6: warning: variable 'rx_sa' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 1187 | if (!sci) + | ^~~~ +../drivers/net/macsec.c:1309:18: note: uninitialized use occurs here + 1309 | macsec_rxsa_put(rx_sa); + | ^~~~~ +../drivers/net/macsec.c:1187:2: note: remove the 'if' if its condition is always false + 1187 | if (!sci) + | ^~~~~~~~~ + 1188 | goto drop; + | ~~~~~~~~~ +../drivers/net/macsec.c:1131:28: note: initialize the variable 'rx_sa' to silence this warning + 1131 | struct macsec_rx_sa *rx_sa; + | ^ + | = NULL +2 warnings generated. Per-file breakdown --- /tmp/tmp.i7QnPR72kG 2025-06-04 04:43:12.322323344 -0700 +++ /tmp/tmp.jo9qbZcnv7 2025-06-04 04:43:12.325323321 -0700 @@ -0,0 +1 @@ + 4 ../drivers/net/macsec.c