Skip to contentSkip to conversation

vmsplice02: Convert docs to docparse

PATCH New Ma Xinjian via ltp 1 participant 1 message Dec 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vmsplice02: Convert docs to docparse

---
 .../kernel/syscalls/vmsplice/vmsplice02.c      | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
testcases/kernel/syscalls/vmsplice/vmsplice02.c +9 -9
index 8f1965c2e..24ff3c0f8 100644
@@ -3,15 +3,15 @@
  * Copyright (c) 2014 Fujitsu Ltd.
  * Author: Xing Gu <[email protected]>
  */
-/*
- * 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
Signature · 5 lines
2.47.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp