summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2025-06-25 12:41:23 +0200
committerJakub Kicinski <kuba@kernel.org>2025-06-26 17:53:07 -0700
commitb7863babce0a7aacb252e50d75b192476aa81ea1 (patch)
tree458c9c6a1dd7e9d6803c035d600059fd6e9e708f /net/lapb/lapb_subr.c
parent040ae95a984f04afa5d300a97d11643a1577aa72 (diff)
selftests: forwarding: lib: Split setup_wait()
setup_wait() takes an optional argument and then is called from the top level of the test script. That confuses shellcheck, which thinks that maybe the intention is to pass $1 of the script to the function, which is never the case. To avoid having to annotate every single new test with a SC disable, split the function in two: one that takes a mandatory argument, and one that takes no argument at all. Convert the two existing users of that optional argument, both in Spectrum resource selftest, to use the new form. Clean up vxlan_bridge_1q_mc_ul.sh to not pass a now-unused argument. Signed-off-by: Petr Machata <petrm@nvidia.com> Link: https://patch.msgid.link/8e13123236fe3912ae29bc04a1528bdd8551da1f.1750847794.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions