========== shellcheck - FAILED ====== Checking before the patch ====== ====== Checking the tree with the patch ====== tools/testing/selftests/drivers/net/team/decoupled_enablement.sh is a new file, but not shellcheck compliant New errors added --- /tmp/tmp.XAx21AKkNv 2026-03-31 02:29:22.770951833 -0400 +++ /tmp/tmp.1eJqAqZQk2 2026-03-31 02:29:24.666939009 -0400 @@ -2 +2,33 @@ -In options.sh line 29: +In decoupled_enablement.sh line 89: +set_option_value() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + + +In decoupled_enablement.sh line 103: +try_ping() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + + +In decoupled_enablement.sh line 109: +team_test_mode_tx_enablement() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + + +In decoupled_enablement.sh line 146: +team_test_mode_rx_enablement() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + + +In decoupled_enablement.sh line 183: +team_test_tx_enablement() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + + +In decoupled_enablement.sh line 190: +team_test_rx_enablement() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + +For more information: + https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... + +In options.sh line 32: @@ -7 +39 @@ -In options.sh line 50: +In options.sh line 53: @@ -12 +44 @@ -In options.sh line 71: +In options.sh line 74: @@ -17 +49 @@ -In options.sh line 80: +In options.sh line 83: @@ -22 +54 @@ -In options.sh line 90: +In options.sh line 93: @@ -27 +59 @@ -In options.sh line 109: +In options.sh line 112: @@ -32 +64 @@ -In options.sh line 145: +In options.sh line 148: @@ -37 +69 @@ -In options.sh line 166: +In options.sh line 169: @@ -40,0 +73,15 @@ + +In options.sh line 190: +team_test_enabled_implicit_changes() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + + +In options.sh line 220: +team_test_rx_enabled_implicit_changes() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + + +In options.sh line 250: +team_test_tx_enabled_implicit_changes() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + @@ -81,0 +129,6 @@ + local packet_count=$(tcpdump_show "$interface" | grep \ + ^----------^ SC2155 (warning): Declare and assign separately to avoid masking return values. + ^-- SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. + + +In team_lib.sh line 136: