Skip to contentSkip to conversation

panic: fix typo in vpanic() comment

PATCH In review Jyun-An Chen 2 participants 2 messages Jul 22 – Jul 23

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 panic: fix typo in vpanic() comment

Fix a typo in a comment in vpanic().

---
 kernel/panic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/panic.c +1 -1
index 213725b612aa..3492575a70d8 100644
@@ -704,7 +704,7 @@ void vpanic(const char *fmt, va_list args)
 	 * buffer.  Try to acquire the lock then release it regardless of the
 	 * result.  The release will also print the buffers out.  Locks debug
 	 * should be disabled to avoid reporting bad unlock balance when
-	 * panic() is not being callled from OOPS.
+	 * panic() is not being called from OOPS.
 	 */
 	debug_locks_off();
 	console_flush_on_panic(CONSOLE_FLUSH_PENDING);
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw

kernel/panic.c void vpanic(const char *fmt, va_list args) · line 707

Quoted 2 lines
kernel/panic.c +1 -1
-	 * panic() is not being callled from OOPS.
+	 * panic() is not being called from OOPS.

really, Jyun?

Well, it's a comment typo fix, so it's quite trivial to review.

Note: I sometimes see AI helps people to fix this.. if you do decide to do code in the future, then please verify what you submit.

If I'm crazy (I mostly am, heh.) then no worries about it.

Well, still thanks for the patch..
Thanks!