====== Checking before the patch ====== ====== Checking the tree with the patch ====== New warnings added --- /tmp/tmp.9ykqHMhKb8 2025-10-29 20:15:12.304253219 -0700 +++ /tmp/tmp.uJLyamYo0v 2025-10-29 20:15:12.533250933 -0700 @@ -7 +7,18 @@ -In ethtool-features.sh line 18: +In ethtool-features.sh line 10: +if ! ethtool --json -k $NSIM_NETDEV > /dev/null 2>&1; then + ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. + +Did you mean: +if ! ethtool --json -k "$NSIM_NETDEV" > /dev/null 2>&1; then + + +In ethtool-features.sh line 12: + exit $ksft_skip + ^--------^ SC2154 (warning): ksft_skip is referenced but not assigned. + ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. + +Did you mean: + exit "$ksft_skip" + + +In ethtool-features.sh line 23: @@ -15 +32 @@ -In ethtool-features.sh line 21: +In ethtool-features.sh line 26: @@ -23 +40 @@ -In ethtool-features.sh line 25: +In ethtool-features.sh line 30: @@ -32 +49 @@ -In ethtool-features.sh line 26: +In ethtool-features.sh line 31: @@ -38 +55 @@ - https://www.shellcheck.net/wiki/SC2154 -- num_errors is referenced but not ... + https://www.shellcheck.net/wiki/SC2154 -- ksft_skip is referenced but not a...