[LTP] [PATCH] vmsplice02: Convert docs to docparse

Ma Xinjian maxj.fnst@fujitsu.com
Tue Dec 17 09:30:55 CET 2024


Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
 .../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 8f1965c2e..24ff3c0f8 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 <gux.fnst@cn.fujitsu.com>
  */
-/*
- * 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
-- 
2.47.0



More information about the ltp mailing list