Skip to contentSkip to conversation

lib-bug-fix-inconsistent-capitalization-in-bug-message.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Mar 28

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: lib/bug: fix inconsistent capitalization in BUG message
has been removed from the -mm tree. Its filename was
lib-bug-fix-inconsistent-capitalization-in-bug-message.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Josh Law <[email protected]>
Subject: lib/bug: fix inconsistent capitalization in BUG message
Date: Fri, 6 Mar 2026 16:23:27 +0000

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'.

---

 lib/bug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bug.c renamed from lib/bug.c~lib-bug-fix-inconsistent-capitalization-in-bug-message +1 -1
@@ -254,7 +254,7 @@ static enum bug_trap_type __report_bug(s
 	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;

_

Patches currently in -mm which might be from [email protected] are

mm-damon-core-document-damos_commit_dests-failure-semantics.patch lib-maple_tree-fix-swapped-arguments-in-mas_safe_pivot-call.patch lib-idr-fix-ida_find_first_range-missing-ids-across-chunk-boundaries.patch