ShellCheck - shell script analysis tool version: 0.11.0 license: GNU General Public License, version 3 website: https://www.shellcheck.net Redirect to /tmp/tmp.88eurhcGE9 and /tmp/tmp.xa9DbMjXdW Tree base: 99600f79b28c ("mpls: add missing unregister_netdevice_notifier to mpls_init") Now at: 036ce8753425 ("selftests: bonding: add test for stacked bond header_parse recursion") ====== Checking before the patch ====== ====== Checking the tree with the patch ====== Checking tools/testing/selftests/drivers/net/bonding/bond-stacked-header-parse.sh - a3e9b0966bc61766fc1fd10d48f2bac2afc951947e331057778b0f6e5ecd65ce 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...