sched_setaffinity01: Convert docs to docparse
PATCH 1/1 sched_setaffinity01: Convert docs to docparse
Signed-off-by Ma Xinjian <[email protected]>
--- .../sched_setaffinity/sched_setaffinity01.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)
testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01.c +8 -6
@@ -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
Both patches merged, thanks!
Signature · 6 lines
Regards, Li Wang -- Mailing list info: https://lists.linux.it/listinfo/ltp