aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-selectmap.c
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2025-06-25 10:41:23 +0000
committerJakub Kicinski <[email protected]>2025-06-27 00:53:07 +0000
commitb7863babce0a7aacb252e50d75b192476aa81ea1 (patch)
tree458c9c6a1dd7e9d6803c035d600059fd6e9e708f /drivers/fpga/xilinx-selectmap.c
parentnet: Remove unused function first_net_device_rcu() (diff)
downloadkernel-b7863babce0a7aacb252e50d75b192476aa81ea1.tar.gz
kernel-b7863babce0a7aacb252e50d75b192476aa81ea1.zip
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 <[email protected]> Link: https://patch.msgid.link/8e13123236fe3912ae29bc04a1528bdd8551da1f.1750847794.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions