[PATCH blktests v3 3/3] nvme: introduce nvmet_target_{setup/cleanup} common code
Bart Van Assche
bvanassche at acm.org
Mon Aug 28 08:14:31 PDT 2023
On 8/27/23 21:13, Shinichiro Kawasaki wrote:
> For me, your original suggestion to add "ignored_agument" looks better
> than "$@". (or in short, "noarg" or something)
It is not clear to me what the intention is of the _nvmet_target_setup
calls without arguments. Is the intention to pass all arguments that have
been passed to the caller or is the intention not to pass any arguments?
In the latter case I think it would be wrong to suppress SC2119 because
there really is a problem in this case. How about passing -- as argument
if the intention is not to pass any arguments? It is a well established
convention for shell commands and shell functions to ignore the double
hyphen if it is encountered in the argument list.
Thanks,
Bart.
More information about the Linux-nvme
mailing list