diff mbox series

sched_setaffinity01: Convert docs to docparse

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

Commit Message

Ma Xinjian Sept. 2, 2024, 4:03 a.m. UTC
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
---
 .../sched_setaffinity/sched_setaffinity01.c        | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Comments

Li Wang Sept. 2, 2024, 5:52 a.m. UTC | #1
Both patches merged, thanks!
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01.c b/testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01.c
index a56ae1f50..acd9b77be 100644
--- a/testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01.c
+++ b/testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01.c
@@ -6,13 +6,15 @@ 
  * Author: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
  */
 
-/*
- * Description:
+/*\
+ * [Description]
+ *
  * Check various errnos for sched_setaffinity():
- * 1) EFAULT, if the supplied memory address is invalid.
- * 2) EINVAL, if the mask doesn't contain at least one permitted cpu.
- * 3) ESRCH, if the process whose id is pid could not be found.
- * 4) EPERM, if the calling process doesn't have appropriate privileges.
+ *
+ * 1. EFAULT, if the supplied memory address is invalid.
+ * 2. EINVAL, if the mask doesn't contain at least one permitted cpu.
+ * 3. ESRCH, if the process whose id is pid could not be found.
+ * 4. EPERM, if the calling process doesn't have appropriate privileges.
  */
 
 #define _GNU_SOURCE