====== Checking before the patch ====== ====== Checking the tree with the patch ====== tools/testing/selftests/drivers/net/bonding/bond-stacked-header-parse.sh is a new file, but not shellcheck compliant New errors added --- /tmp/tmp.88eurhcGE9 2026-03-14 10:01:48.170841708 -0400 +++ /tmp/tmp.xa9DbMjXdW 2026-03-14 10:01:48.912833942 -0400 @@ -0,0 +1,29 @@ + +In bond-stacked-header-parse.sh line 12: +ALL_TESTS=" +^-------^ SC2034 (warning): ALL_TESTS appears unused. Verify use (or export if used externally). + + +In bond-stacked-header-parse.sh line 28: +bond_test_stacked_header_parse() +^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly). + + +In bond-stacked-header-parse.sh line 35: + RET=0 + ^-^ SC2034 (warning): RET appears unused. Verify use (or export if used externally). + + +In bond-stacked-header-parse.sh line 43: + if [ $? -ne 0 ]; then + ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. + + +In bond-stacked-header-parse.sh line 51: + if [ $? -ne 0 ]; then + ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. + +For more information: + https://www.shellcheck.net/wiki/SC2034 -- ALL_TESTS appears unused. Verify ... + https://www.shellcheck.net/wiki/SC2329 -- This function is never invoked. C... + https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g...