* [PATCH] lib/bug: fix inconsistent capitalization in BUG message
@ 2026-03-06 16:23 Josh Law
0 siblings, 0 replies; only message in thread
From: Josh Law @ 2026-03-06 16:23 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, Josh Law
Use lowercase "kernel BUG" consistently in pr_crit() messages. The
verbose path already uses "kernel BUG at %s:%u!" but the non-verbose
fallback uses "Kernel BUG" with an uppercase 'K'.
Signed-off-by: Josh Law <objecting@objecting.org>
---
lib/bug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bug.c b/lib/bug.c
index 623c467a8b76..d7faa1255f85 100644
--- a/lib/bug.c
+++ b/lib/bug.c
@@ -254,7 +254,7 @@ static enum bug_trap_type __report_bug(struct bug_entry *bug, unsigned long buga
if (file)
pr_crit("kernel BUG at %s:%u!\n", file, line);
else
- pr_crit("Kernel BUG at %pB [verbose debug info unavailable]\n",
+ pr_crit("kernel BUG at %pB [verbose debug info unavailable]\n",
(void *)bugaddr);
return BUG_TRAP_TYPE_BUG;
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-06 16:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-06 16:23 [PATCH] lib/bug: fix inconsistent capitalization in BUG message Josh Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®