ShellCheck - shell script analysis tool version: 0.10.0 license: GNU General Public License, version 3 website: https://www.shellcheck.net Redirect to /tmp/tmp.iAinuRevpa and /tmp/tmp.u6b9RRYgnY Tree base: f23f51183382 ("netpoll: move Ethernet setup to push_eth() helper") Now at: 220a7a5629ed ("selftests: net: Add IPv6 support to netconsole basic tests") ====== Checking before the patch ====== Checking tools/testing/selftests/drivers/net/lib/sh/lib_netcons.sh - bf920798bfe9ad648c492dab7e7cb69c49e9d7fc40353062d15ff0dc93f5036d In lib_netcons.sh line 56: local SRCIF_IFIDX=$(cat /sys/class/net/"$SRCIF"/ifindex) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib_netcons.sh line 57: local DSTIF_IFIDX=$(cat /sys/class/net/"$DSTIF"/ifindex) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. For more information: https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... Checking tools/testing/selftests/drivers/net/netcons_basic.sh - 9d784c6249a79f500fccc50ebdd72a0956d8a7d137852960ec7fca0e1a8fc28f In netcons_basic.sh line 66: 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... ====== Checking the tree with the patch ====== Checking tools/testing/selftests/drivers/net/lib/sh/lib_netcons.sh - bf920798bfe9ad648c492dab7e7cb69c49e9d7fc40353062d15ff0dc93f5036d In lib_netcons.sh line 58: local SRCIF_IFIDX=$(cat /sys/class/net/"$SRCIF"/ifindex) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib_netcons.sh line 59: local DSTIF_IFIDX=$(cat /sys/class/net/"$DSTIF"/ifindex) ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. For more information: https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ... Checking tools/testing/selftests/drivers/net/netcons_basic.sh - 9d784c6249a79f500fccc50ebdd72a0956d8a7d137852960ec7fca0e1a8fc28f In netcons_basic.sh line 73: 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...