====== Checking before the patch ====== ====== Checking the tree with the patch ====== tools/testing/selftests/drivers/net/netcons_resume.sh is a new file, but not shellcheck compliant New errors added --- /tmp/tmp.fCyY8Lq0HC 2025-11-16 09:54:20.804982180 -0800 +++ /tmp/tmp.tcPL1gVe5o 2025-11-16 09:54:21.831971687 -0800 @@ -10,0 +11,15 @@ + +In lib_netcons.sh line 203: +function cleanup_netcons() { +^-- SC2120 (warning): cleanup_netcons references arguments, but none are ever passed. + + +In lib_netcons.sh line 224: + cleanup_netcons + ^-------------^ SC2119 (info): Use cleanup_netcons "$@" if function's $1 should mean script's $1. + + +In lib_netcons.sh line 440: + cleanup_netcons + ^-------------^ SC2119 (info): Use cleanup_netcons "$@" if function's $1 should mean script's $1. + @@ -11,0 +27 @@ + https://www.shellcheck.net/wiki/SC2120 -- cleanup_netcons references argume... @@ -12,0 +29,19 @@ + https://www.shellcheck.net/wiki/SC2119 -- Use cleanup_netcons "$@" if funct... + +In netcons_resume.sh line 46: + set_network + ^---------^ SC2119 (info): Use set_network "$@" if function's $1 should mean script's $1. + + +In netcons_resume.sh line 71: + set_network + ^---------^ SC2119 (info): Use set_network "$@" if function's $1 should mean script's $1. + + +In netcons_resume.sh line 97: +exit "${ksft_pass}" + ^----------^ SC2154 (warning): ksft_pass is referenced but not assigned. + +For more information: + https://www.shellcheck.net/wiki/SC2154 -- ksft_pass is referenced but not a... + https://www.shellcheck.net/wiki/SC2119 -- Use set_network "$@" if function'...