====== Checking before the patch ====== ====== Checking the tree with the patch ====== tools/testing/selftests/net/ipv4_addr_lookup_test.sh is a new file, but not shellcheck compliant tools/testing/selftests/net/ipv4_addr_lookup_test_virtme.sh is a new file, but not shellcheck compliant New errors added --- /tmp/tmp.wGsNv28MoP 2026-03-31 18:20:17.147420054 -0400 +++ /tmp/tmp.Vn6sZFP5F2 2026-03-31 18:20:17.900417863 -0400 @@ -0,0 +1,66 @@ + +In ipv4_addr_lookup_test.sh line 424: +cleanup() { +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + + +In ipv4_addr_lookup_test.sh line 427: + kill -INT $BPFTRACE_PID 2>/dev/null || true + ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. + +Did you mean: + kill -INT "$BPFTRACE_PID" 2>/dev/null || true + + +In ipv4_addr_lookup_test.sh line 428: + wait $BPFTRACE_PID 2>/dev/null || true + ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. + +Did you mean: + wait "$BPFTRACE_PID" 2>/dev/null || true + + +In ipv4_addr_lookup_test.sh line 435: + [ -n "$jobs" ] && kill $jobs 2>/dev/null || true + ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. + +Did you mean: + [ -n "$jobs" ] && kill "$jobs" 2>/dev/null || true + + +In ipv4_addr_lookup_test.sh line 533: + addr=$(idx_to_addr $idx) + ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. + +Did you mean: + addr=$(idx_to_addr "$idx") + + +In ipv4_addr_lookup_test.sh line 613: + taskset -c 1 "$sender_bin" "$NUM_ADDRS" "$ROUNDS" "$DURATION" $sndbuf_arg \ + ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. + +Did you mean: + taskset -c 1 "$sender_bin" "$NUM_ADDRS" "$ROUNDS" "$DURATION" "$sndbuf_arg" \ + + +In ipv4_addr_lookup_test.sh line 622: + local cur_p=$((0x${1})) cur_sq=$((0x${3})) + ^----^ SC2034 (warning): cur_sq appears unused. Verify use (or export if used externally). + + +In ipv4_addr_lookup_test.sh line 630: + prev_p=$((0x${1})); prev_sq=$((0x${3})) + ^-----^ SC2034 (warning): prev_sq appears unused. Verify use (or export if used externally). + +For more information: + https://www.shellcheck.net/wiki/SC2034 -- cur_sq appears unused. Verify use... + https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... + https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... + +In ipv4_addr_lookup_test_virtme.sh line 158: +TURBO_RESTORED=0 +^------------^ SC2034 (warning): TURBO_RESTORED appears unused. Verify use (or export if used externally). + +For more information: + https://www.shellcheck.net/wiki/SC2034 -- TURBO_RESTORED appears unused. Ve...