Skip to contentSkip to conversation

semctl08: Convert docs to docparse

PATCH Superseded Ma Xinjian via ltp 2 participants 4 messages Feb 10, 2025 – Feb 12, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 semctl08: Convert docs to docparse

---
 testcases/kernel/syscalls/ipc/semctl/semctl08.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
testcases/kernel/syscalls/ipc/semctl/semctl08.c +4 -1
index 1878bd49d..0c6ad1d8f 100644
@@ -1,8 +1,11 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 Viresh Kumar <[email protected]>
+ */
+
+/*\
+ * [Description]
  *
- * Description:
  * Cross verify the _high fields being set to 0 by the kernel.
  */
 #include "lapi/sembuf.h"
Signature · 5 lines
2.47.0


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

Hi Ma,

please, take a look at the open discussion in the LTP ML "[LTP][Open discussion] docparse handling". Feel free to comment :-)

Best regards,
Andrea Cervesato

Quoted 22 lines · Ma Xinjian via ltp
---
  testcases/kernel/syscalls/ipc/semctl/semctl08.c | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
testcases/kernel/syscalls/ipc/semctl/semctl08.c +4 -1
index 1878bd49d..0c6ad1d8f 100644
@@ -1,8 +1,11 @@
  // SPDX-License-Identifier: GPL-2.0-or-later
  /*
   * Copyright (c) 2020 Viresh Kumar <[email protected]>
+ */
+
+/*\
+ * [Description]
   *
- * Description:
   * Cross verify the _high fields being set to 0 by the kernel.
   */
  #include "lapi/sembuf.h"
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
#2 lore raw
In reply to Ma Xinjian via ltp

Hi Ma, Andrea,

testcases/kernel/syscalls/ipc/semctl/semctl08.c line 9

Quoted 12 lines

+++ b/testcases/kernel/syscalls/ipc/semctl/semctl08.c

testcases/kernel/syscalls/ipc/semctl/semctl08.c +4 -1
@@ -1,8 +1,11 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2020 Viresh Kumar <[email protected]>
+ */
+
+/*\
+ * [Description]
  *
- * Description:
  * Cross verify the _high fields being set to 0 by the kernel.

@Ma merged, thank you!

@Andrea: I merged this and msgctl05 change even we are discussing [Description]. Because /*\ is good to be added and if we agree on the conversion it will need to be scripted on whole tree.

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
#3 lore raw

Hi,

Thanks Peter!

Quoted 16 lines · Petr Vorel

Hi Ma, Andrea,

testcases/kernel/syscalls/ipc/semctl/semctl08.c line 9

Quoted 12 lines

+++ b/testcases/kernel/syscalls/ipc/semctl/semctl08.c

testcases/kernel/syscalls/ipc/semctl/semctl08.c +4 -1
@@ -1,8 +1,11 @@
  // SPDX-License-Identifier: GPL-2.0-or-later
  /*
   * Copyright (c) 2020 Viresh Kumar <[email protected]>
+ */
+
+/*\
+ * [Description]
   *
- * Description:
   * Cross verify the _high fields being set to 0 by the kernel.

@Ma merged, thank you!

Quoted 6 lines

@Andrea: I merged this and msgctl05 change even we are discussing [Description]. Because /*\ is good to be added and if we agree on the conversion it will need to be scripted on whole tree.

Kind regards,
Petr

Andrea

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp