Message ID | 20250303124324.3563605-5-ming.lei@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | selftests: ublk: bug fixes & consolidation | expand |
Context | Check | Description |
---|---|---|
shin/vmtest-for-next-PR | success | PR summary |
shin/vmtest-for-next-VM_Test-0 | success | Logs for build-kernel |
On Mon, Mar 03, 2025 at 08:43:14PM +0800, Ming Lei wrote: > The argument of '-a' doesn't follow any value, so fix it by putting it > with '-z' together. > > Fixes: ed5820a7e918 ("selftests: ublk: add ublk zero copy test") Looks good. Reviewed-by: Keith Busch <kbusch@kernel.org>
diff --git a/tools/testing/selftests/ublk/kublk.c b/tools/testing/selftests/ublk/kublk.c index 24557a3e5508..148355717ee7 100644 --- a/tools/testing/selftests/ublk/kublk.c +++ b/tools/testing/selftests/ublk/kublk.c @@ -1068,7 +1068,7 @@ int main(int argc, char *argv[]) return ret; optind = 2; - while ((opt = getopt_long(argc, argv, "t:n:d:q:a:z", + while ((opt = getopt_long(argc, argv, "t:n:d:q:az", longopts, &option_idx)) != -1) { switch (opt) { case 'a':
The argument of '-a' doesn't follow any value, so fix it by putting it with '-z' together. Fixes: ed5820a7e918 ("selftests: ublk: add ublk zero copy test") Signed-off-by: Ming Lei <ming.lei@redhat.com> --- tools/testing/selftests/ublk/kublk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)