Skip to contentSkip to conversation

CodeSamples/formal/herd: Fix comment format in initialization

PATCH In review Akira Yokosawa 2 participants 2 messages Oct 8, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CodeSamples/formal/herd: Fix comment format in initialization

In initialization of litmus tests, comments should be "(* ... *)". Fix it.

Fixes 915807a52e21 ("together/applyrcu: Use \clnref{} and its friends in Section 13.5.9")
---
 .../C-MP+o-xchg-rcusync-o+o-xchg-rcusync-o+rl-o-o-rul.litmus    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
CodeSamples/formal/herd/C-MP+o-xchg-rcusync-o+o-xchg-rcusync-o+rl-o-o-rul.litmus +1 -1
index 73859c24..86ea5553 100644
@@ -5,7 +5,7 @@ C C-MP+o-xchg-rcusync-o+o-xchg-rcusync-o+rl-o-o-rul
 	int a=1;
 	int b;
 	int c;
-	int *p=a;			//\lnlbl[init:p]
+	int *p=a;			(* \lnlbl[init:p] *)
 }
 
 P0(int *a, int *b, int *c, int **p)

base-commit: ef86afaddd2705ea45124c967ec1ec046eaba4fc

Signature · 1 line
2.43.0
#1 lore raw
Quoted 5 lines · Akira Yokosawa

In initialization of litmus tests, comments should be "(* ... *)". Fix it.

Fixes 915807a52e21 ("together/applyrcu: Use \clnref{} and its friends in Section 13.5.9")

I clearly failed to test! Thank you for the fix, applied.

Thanx, Paul

Quoted 22 lines
---
 .../C-MP+o-xchg-rcusync-o+o-xchg-rcusync-o+rl-o-o-rul.litmus    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
CodeSamples/formal/herd/C-MP+o-xchg-rcusync-o+o-xchg-rcusync-o+rl-o-o-rul.litmus +1 -1
index 73859c24..86ea5553 100644
@@ -5,7 +5,7 @@ C C-MP+o-xchg-rcusync-o+o-xchg-rcusync-o+rl-o-o-rul
 	int a=1;
 	int b;
 	int c;
-	int *p=a;			//\lnlbl[init:p]
+	int *p=a;			(* \lnlbl[init:p] *)
 }
 
 P0(int *a, int *b, int *c, int **p)

base-commit: ef86afaddd2705ea45124c967ec1ec046eaba4fc

Signature · 1 line
2.43.0