====== Checking before the patch ====== ====== Checking the tree with the patch ====== New warnings added --- /tmp/tmp.Gma4Tg6ivJ 2026-02-03 18:35:44.289746457 -0500 +++ /tmp/tmp.RWKAXlLfTL 2026-02-03 18:35:45.496736302 -0500 @@ -7 +7 @@ -In basic_features.sh line 21: +In basic_features.sh line 24: @@ -15 +15 @@ -In basic_features.sh line 24: +In basic_features.sh line 27: @@ -20 +20 @@ -In basic_features.sh line 26: +In basic_features.sh line 29: @@ -30 +30 @@ -In basic_features.sh line 31: +In basic_features.sh line 34: @@ -38 +38 @@ -In basic_features.sh line 34: +In basic_features.sh line 37: @@ -43 +43 @@ -In basic_features.sh line 36: +In basic_features.sh line 39: @@ -53 +53 @@ -In basic_features.sh line 39: +In basic_features.sh line 42: @@ -58 +58 @@ -In basic_features.sh line 43: +In basic_features.sh line 46: @@ -67 +67 @@ -In basic_features.sh line 46: +In basic_features.sh line 49: @@ -72,6 +72 @@ -In basic_features.sh line 48: - RET=0 - ^-^ SC2034 (warning): RET appears unused. Verify use (or export if used externally). - - -In basic_features.sh line 51: +In basic_features.sh line 54: @@ -86 +81 @@ -In basic_features.sh line 52: +In basic_features.sh line 55: @@ -91 +86 @@ -In basic_features.sh line 56: +In basic_features.sh line 59: @@ -100 +95 @@ -In basic_features.sh line 57: +In basic_features.sh line 60: @@ -105 +100 @@ -In basic_features.sh line 65: +In basic_features.sh line 68: @@ -113 +108 @@ -In basic_features.sh line 67: +In basic_features.sh line 70: @@ -121 +116 @@ -In basic_features.sh line 71: +In basic_features.sh line 74: @@ -130 +125 @@ -In basic_features.sh line 72: +In basic_features.sh line 75: @@ -139 +134 @@ -In basic_features.sh line 75: +In basic_features.sh line 78: @@ -147 +142 @@ -In basic_features.sh line 77: +In basic_features.sh line 80: @@ -155 +150 @@ -In basic_features.sh line 80: +In basic_features.sh line 83: @@ -164 +159,51 @@ -In basic_features.sh line 88: +In basic_features.sh line 89: +buffer_circulation_test() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + + +In basic_features.sh line 91: + RET=0 + ^-^ SC2034 (warning): RET appears unused. Verify use (or export if used externally). + + +In basic_features.sh line 104: + if [ $? -ne 0 ]; then + ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. + + +In basic_features.sh line 110: + local rx_start=$(cat /sys/class/net/"$h2"/statistics/rx_packets) + ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. + + +In basic_features.sh line 111: + local tx_start=$(cat /sys/class/net/"$h1"/statistics/tx_packets) + ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. + + +In basic_features.sh line 118: + local port=$(shuf -i 49152-65535 -n 1) + ^--^ SC2155 (warning): Declare and assign separately to avoid masking return values. + + +In basic_features.sh line 146: + local hold=$(grep -c "page_pool_state_hold" "$trace" 2>/dev/null) + ^--^ SC2155 (warning): Declare and assign separately to avoid masking return values. + + +In basic_features.sh line 147: + local release=$(grep -c "page_pool_state_release" "$trace" 2>/dev/null) + ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. + + +In basic_features.sh line 151: + local rx_end=$(cat /sys/class/net/"$h2"/statistics/rx_packets) + ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. + + +In basic_features.sh line 152: + local tx_end=$(cat /sys/class/net/"$h1"/statistics/tx_packets) + ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. + + +In basic_features.sh line 169: @@ -172 +217 @@ -In basic_features.sh line 89: +In basic_features.sh line 170: @@ -180 +225 @@ -In basic_features.sh line 90: +In basic_features.sh line 171: @@ -188 +233 @@ -In basic_features.sh line 91: +In basic_features.sh line 172: @@ -196 +241 @@ -In basic_features.sh line 99: +In basic_features.sh line 180: @@ -201 +246 @@ -In basic_features.sh line 106: +In basic_features.sh line 187: @@ -209 +254 @@ -In basic_features.sh line 107: +In basic_features.sh line 188: @@ -217 +262 @@ -In basic_features.sh line 108: +In basic_features.sh line 189: @@ -225 +270 @@ -In basic_features.sh line 109: +In basic_features.sh line 190: @@ -233 +278 @@ -In basic_features.sh line 110: +In basic_features.sh line 191: @@ -241 +286 @@ -In basic_features.sh line 111: +In basic_features.sh line 192: @@ -249 +294 @@ -In basic_features.sh line 114: +In basic_features.sh line 195: @@ -254 +299 @@ -In basic_features.sh line 120: +In basic_features.sh line 206: @@ -262 +307 @@ -In basic_features.sh line 121: +In basic_features.sh line 207: @@ -270 +315 @@ -In basic_features.sh line 122: +In basic_features.sh line 208: @@ -278 +323 @@ -In basic_features.sh line 123: +In basic_features.sh line 209: @@ -286,0 +332 @@ + https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... @@ -288 +333,0 @@ - https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C...