diff mbox series

tee02: Convert docs to docparse

Message ID 20241115060804.130544-1-maxj.fnst@fujitsu.com
State Accepted
Headers show
Series tee02: Convert docs to docparse | expand

Commit Message

Xinjian Ma \(Fujitsu\) Nov. 15, 2024, 6:08 a.m. UTC
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
 testcases/kernel/syscalls/tee/tee02.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Comments

Cyril Hrubis Nov. 29, 2024, 3:37 p.m. UTC | #1
Hi!
Applied, thanks.
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/tee/tee02.c b/testcases/kernel/syscalls/tee/tee02.c
index 5ebb3c3f6..c3b991189 100644
--- a/testcases/kernel/syscalls/tee/tee02.c
+++ b/testcases/kernel/syscalls/tee/tee02.c
@@ -3,15 +3,15 @@ 
  * Copyright (c) 2014 Fujitsu Ltd.
  * Author: Xing Gu <gux.fnst@cn.fujitsu.com>
  */
-/*
- * Description:
- *   Verify that,
- *   1) tee() returns -1 and sets errno to EINVAL if fd_in does
- *      not refer to a pipe.
- *   2) tee() returns -1 and sets errno to EINVAL if fd_out does
- *      not refer to a pipe.
- *   3) tee() returns -1 and sets errno to EINVAL if fd_in and
- *      fd_out refer to the same pipe.
+
+/*\
+ * [Description]
+ *
+ * Verify that, tee(2) returns -1 and sets errno to
+ *
+ * 1. EINVAL if fd_in does not refer to a pipe.
+ * 2. EINVAL if fd_out does not refer to a pipe.
+ * 3. EINVAL if fd_in and fd_out refer to the same pipe.
  */
 
 #define _GNU_SOURCE