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/[email protected] Signed-off-by: Sravan Kumar Gundu <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jani Nikula <[email protected]> Cc: John Ogness <[email protected]> Cc: Petr Mladek <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent f68b5d1 commit 85915c6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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)