]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: drivers: hw: cleanup shellcheck warnings in the rmon test
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 30 Mar 2026 15:29:28 +0000 (18:29 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 2 Apr 2026 10:11:03 +0000 (12:11 +0200)
commitafd1b9bf7529d853284205f618e314134a5ad9ad
treef726f6dbe1c622805bef3368feebc1d7f961ea23
parent7db9da4c67c7781c2c917657d5d9bdc171836d5f
selftests: drivers: hw: cleanup shellcheck warnings in the rmon test

If run on the ethtool_rmon.sh script, shellcheck generates a bunch of
false positive errors. Suppress those checks that generate them.

Also cleanup the remaining warnings by using double quoting around the
used variables.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20260330152933.2195885-5-ioana.ciornei@nxp.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/drivers/net/hw/ethtool_rmon.sh