Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Josh Law and committed by
Andrew Morton
6a280411 5ab288ff

+1 -1
+1 -1
lib/bug.c
··· 254 254 if (file) 255 255 pr_crit("kernel BUG at %s:%u!\n", file, line); 256 256 else 257 - pr_crit("Kernel BUG at %pB [verbose debug info unavailable]\n", 257 + pr_crit("kernel BUG at %pB [verbose debug info unavailable]\n", 258 258 (void *)bugaddr); 259 259 260 260 return BUG_TRAP_TYPE_BUG;