diff options
| author | Josh Law <objecting@objecting.org> | 2026-03-06 19:23:27 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-03-28 07:19:42 +0300 |
| commit | 6a2804112d98d351df664d9209aa459a2e2fa0d0 (patch) | |
| tree | 09a333f5082f1795b7241bf3a0088f8594f4ec9c | |
| parent | 5ab288ffab948a8201bdac5c5845abe4d36005f1 (diff) | |
| download | linux-6a2804112d98d351df664d9209aa459a2e2fa0d0.tar.xz | |
lib/bug: fix inconsistent capitalization in BUG message
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'.
Link: https://lkml.kernel.org/r/20260306162327.2815553-1-objecting@objecting.org
Signed-off-by: Josh Law <objecting@objecting.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
| -rw-r--r-- | lib/bug.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
