lib/bug: fix inconsistent capitalization in BUG message
PATCH 1/1 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'.
Signed-off-by Josh Law <[email protected]>
--- lib/bug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bug.c +1 -1
@@ -254,7 +254,7 @@ static enum bug_trap_type __report_bug(struct bug_entry *bug, unsigned long bugaif (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 ;
Signature · 1 line
2.43.0