All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] nice01/02/03/04: docparse comment
@ 2022-07-14 15:24 Avinesh Kumar
  2022-07-14 17:20 ` Petr Vorel
  0 siblings, 1 reply; 2+ messages in thread
From: Avinesh Kumar @ 2022-07-14 15:24 UTC (permalink / raw)
  To: ltp

Signed-off-by: Avinesh Kumar <akumar@suse.de>
---
 testcases/kernel/syscalls/nice/nice01.c | 10 ++++++----
 testcases/kernel/syscalls/nice/nice02.c | 11 +++++++----
 testcases/kernel/syscalls/nice/nice03.c | 11 +++++++----
 testcases/kernel/syscalls/nice/nice04.c |  9 ++++++---
 4 files changed, 26 insertions(+), 15 deletions(-)

diff --git a/testcases/kernel/syscalls/nice/nice01.c b/testcases/kernel/syscalls/nice/nice01.c
index aee5ea043..ee360bfbf 100644
--- a/testcases/kernel/syscalls/nice/nice01.c
+++ b/testcases/kernel/syscalls/nice/nice01.c
@@ -5,10 +5,12 @@
  * Copyright (c) 2016 Cyril Hrubis <chrubis@suse.cz>
  */
 
-/*
- *  Verify that root can provide a negative value to nice()
- *  and hence root can decrease the nice value of the process
- *  using nice() system call
+/*\
+ * [Description]
+ *
+ * Verify that root can provide a negative value to nice()
+ * and hence root can decrease the nice value of the process
+ * using nice() system call
  */
 #include <unistd.h>
 #include <errno.h>
diff --git a/testcases/kernel/syscalls/nice/nice02.c b/testcases/kernel/syscalls/nice/nice02.c
index 036301000..1c7103758 100644
--- a/testcases/kernel/syscalls/nice/nice02.c
+++ b/testcases/kernel/syscalls/nice/nice02.c
@@ -4,10 +4,13 @@
  * Ported to LTP: Wayne Boyer
  * Copyright (c) 2016 Cyril Hrubis <chrubis@suse.cz>
  */
-/*
- *  Verify that any user can successfully increase the nice value of
- *  the process by passing a higher increment value (> max. applicable limits)
- *  to nice() system call.
+
+/*\
+ * [Description]
+ *
+ * Verify that any user can successfully increase the nice value of
+ * the process by passing a higher increment value (> max. applicable limits)
+ * to nice() system call.
  */
 #include <unistd.h>
 #include <errno.h>
diff --git a/testcases/kernel/syscalls/nice/nice03.c b/testcases/kernel/syscalls/nice/nice03.c
index 6047dd4cc..8198f2cf0 100644
--- a/testcases/kernel/syscalls/nice/nice03.c
+++ b/testcases/kernel/syscalls/nice/nice03.c
@@ -4,10 +4,13 @@
  * Ported to LTP: Wayne Boyer
  * Copyright (c) 2016 Cyril Hrubis <chrubis@suse.cz>
  */
-/*
- *  Verify that any user can successfully increase the nice value of
- *  the process by passing an increment value (< max. applicable limits) to
- *  nice() system call.
+
+/*\
+ * [Description]
+ *
+ * Verify that any user can successfully increase the nice value of
+ * the process by passing an increment value (< max. applicable limits) to
+ * nice() system call.
  */
 #include <unistd.h>
 #include <stdlib.h>
diff --git a/testcases/kernel/syscalls/nice/nice04.c b/testcases/kernel/syscalls/nice/nice04.c
index 1d64311b3..ac156008e 100644
--- a/testcases/kernel/syscalls/nice/nice04.c
+++ b/testcases/kernel/syscalls/nice/nice04.c
@@ -4,9 +4,12 @@
  * Ported to LTP: Wayne Boyer
  * Copyright (c) 2016 Cyril Hrubis <chrubis@suse.cz>
  */
-/*
- *  Verify that, nice(2) fails when, a non-root user attempts to increase
- *  the priority of a process by specifying a negative increment value.
+
+/*\
+ * [Description]
+ *
+ * Verify that, nice(2) fails when, a non-root user attempts to increase
+ * the priority of a process by specifying a negative increment value.
  */
 #include <pwd.h>
 #include <unistd.h>
-- 
2.36.1


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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] nice01/02/03/04: docparse comment
  2022-07-14 15:24 [LTP] [PATCH] nice01/02/03/04: docparse comment Avinesh Kumar
@ 2022-07-14 17:20 ` Petr Vorel
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Vorel @ 2022-07-14 17:20 UTC (permalink / raw)
  To: Avinesh Kumar; +Cc: ltp

Hi Avinesh,

merged (with slightly changed commit message).

Thanks!

Kind regards,
Petr

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-14 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 15:24 [LTP] [PATCH] nice01/02/03/04: docparse comment Avinesh Kumar
2022-07-14 17:20 ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.