Skip to contentSkip to conversation

sched_setaffinity01: Convert docs to docparse

PATCH In review Ma Xinjian via ltp 2 participants 2 messages Sep 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched_setaffinity01: Convert docs to docparse

---
 .../sched_setaffinity/sched_setaffinity01.c        | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01.c +8 -6
index a56ae1f50..acd9b77be 100644
@@ -6,13 +6,15 @@
  * Author: Stanislav Kholmanskikh <[email protected]>
  */
 
-/*
- * 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
Signature · 5 lines
2.42.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Both patches merged, thanks!

Signature · 6 lines
Regards,
Li Wang


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