From 1d8f6b5dd05543a108c287a8db95fc726961b4d9 Mon Sep 17 00:00:00 2001 From: Ma Xinjian Date: Tue, 17 Dec 2024 16:30:55 +0800 Subject: [PATCH] vmsplice02: Convert docs to docparse Link: https://lore.kernel.org/ltp/20241217083055.2995853-1-maxj.fnst@fujitsu.com/ Reviewed-by: Petr Vorel Signed-off-by: Ma Xinjian --- .../kernel/syscalls/vmsplice/vmsplice02.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/testcases/kernel/syscalls/vmsplice/vmsplice02.c b/testcases/kernel/syscalls/vmsplice/vmsplice02.c index 8f1965c2e03..24ff3c0f85f 100644 --- a/testcases/kernel/syscalls/vmsplice/vmsplice02.c +++ b/testcases/kernel/syscalls/vmsplice/vmsplice02.c @@ -3,15 +3,15 @@ * Copyright (c) 2014 Fujitsu Ltd. * Author: Xing Gu */ -/* - * Description: - * Verify that, - * 1) vmsplice() returns -1 and sets errno to EBADF if fd - * is not valid. - * 2) vmsplice() returns -1 and sets errno to EBADF if fd - * doesn't refer to a pipe. - * 3) vmsplice() returns -1 and sets errno to EINVAL if - * nr_segs is greater than IOV_MAX. + +/*\ + * [Description] + * + * Verify that, vmsplice(2) returns -1 and sets errno to: + * + * - EBADF if fd is not valid. + * - EBADF if fd doesn't refer to a pipe. + * - EINVAL if nr_segs is greater than IOV_MAX. */ #define _GNU_SOURCE