Skip to content

Commit 85915c6

Browse files
SravanKumar247akpm00
authored andcommitted
kernel/panic.c: format kernel-doc comments
kernel-doc function comment don'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 Link: https://lkml.kernel.org/r/20250516174031.2937-1-sravankumarlpu@gmail.com Signed-off-by: Sravan Kumar Gundu <sravankumarlpu@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jani Nikula <jani.nikula@intel.com> Cc: John Ogness <john.ogness@linutronix.de> Cc: Petr Mladek <pmladek@suse.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent f68b5d1 commit 85915c6

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

kernel/panic.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,10 @@ static void panic_other_cpus_shutdown(bool crash_kexec)
277277
}
278278

279279
/**
280-
* panic - halt the system
281-
* @fmt: The text string to print
280+
* panic - halt the system
281+
* @fmt: The text string to print
282282
*
283-
* Display a message, then perform cleanups.
284-
*
285-
* This function never returns.
283+
* Display a message, then perform cleanups. This function never returns.
286284
*/
287285
void panic(const char *fmt, ...)
288286
{

0 commit comments

Comments
 (0)