Skip to contentSkip to conversation

selftests: powerpc: unmark non-kernel-doc comments

PATCH Applied Randy Dunlap 3 participants 3 messages Mar 25, 2021 – Mar 31, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests: powerpc: unmark non-kernel-doc comments

Drop the 'beginning of kernel-doc' notation markers (/**) in places that are not in kernel-doc format.

---
 tools/testing/selftests/powerpc/tm/tm-trap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/powerpc/tm/tm-trap.c +2 -2
@@ -66,7 +66,7 @@ void trap_signal_handler(int signo, sigi
 	/* Get thread endianness: extract bit LE from MSR */
 	thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR];
 
-	/***
+	/*
 	 * Little-Endian Machine
 	 */
 
@@ -126,7 +126,7 @@ void trap_signal_handler(int signo, sigi
 		}
 	}
 
-	/***
+	/*
 	 * Big-Endian Machine
 	 */
 
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Randy Dunlap

Drop the 'beginning of kernel-doc' notation markers (/**) in places that are not in kernel-doc format.

This looks good to me. Arguably we don't need the comments at all, but it doesn't seem to hurt to keep them.

checkpatch is OK with the entire file, so there's nothing else we'd really want to clean up while you're doing cleanups.

Kind regards,
Daniel

Quoted 28 lines
---
 tools/testing/selftests/powerpc/tm/tm-trap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/powerpc/tm/tm-trap.c +2 -2
@@ -66,7 +66,7 @@ void trap_signal_handler(int signo, sigi
 	/* Get thread endianness: extract bit LE from MSR */
 	thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR];
 
-	/***
+	/*
 	 * Little-Endian Machine
 	 */
 
@@ -126,7 +126,7 @@ void trap_signal_handler(int signo, sigi
 		}
 	}
 
-	/***
+	/*
 	 * Big-Endian Machine
 	 */