Skip to contentSkip to conversation

kernel: Format kernel-doc comments

PATCH Applied Sravan Kumar Gundu 1 participant 1 message May 16, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel: Format kernel-doc comments

kernel-doc function comment doesn't follows documentation commenting style misinterpreting arguments description with function description

please see latest docs generated before applying this patch
https://docs.kernel.org/driver-api/basics.html#c.panic

---
 kernel/panic.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
kernel/panic.c +3 -5
index a3889f38153d..1f52922d1b2e 100644
@@ -277,12 +277,10 @@ static void panic_other_cpus_shutdown(bool crash_kexec)
 }
 
 /**
- *	panic - halt the system
- *	@fmt: The text string to print
+ * panic - halt the system
+ * @fmt: The text string to print
  *
- *	Display a message, then perform cleanups.
- *
- *	This function never returns.
+ * Display a message, then perform cleanups. This function never returns.
  */
 void panic(const char *fmt, ...)
 {
Signature · 1 line
2.43.0