Skip to contentSkip to conversation

checkpatch-detect-unhandled-placeholders-in-cover-letters.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Nov 12, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: checkpatch: detect unhandled placeholders in cover letters
has been removed from the -mm tree. Its filename was
checkpatch-detect-unhandled-placeholders-in-cover-letters.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: Onur Özkan <[email protected]>
Subject: checkpatch: detect unhandled placeholders in cover letters
Date: Wed, 17 Sep 2025 20:37:24 +0300

Add a new check PLACEHOLDER_USE to detect unhandled placeholders. This prevents sending patch series with incomplete patches (mostly in cover letters) containing auto generated subject or blurb lines.

These placeholders can be seen on mailing lists. With this change, checkpatch will emit an error when such text is found.

---

 scripts/checkpatch.pl |    7 +++++++
 1 file changed, 7 insertions(+)
scripts/checkpatch.pl renamed from scripts/checkpatch.pl~checkpatch-detect-unhandled-placeholders-in-cover-letters +7 -0
@@ -3345,6 +3345,13 @@ sub process {
 			}
 		}
 
+# Check for auto-generated unhandled placeholder text (mostly for cover letters)
+		if (($in_commit_log || $in_header_lines) &&
+		    $rawline =~ /(?:SUBJECT|BLURB) HERE/) {
+			ERROR("PLACEHOLDER_USE",
+			      "Placeholder text detected\n" . $herecurr);
+		}
+
 # Check for git id commit length and improperly formed commit descriptions
 # A correctly formed commit description is:
 #    commit <SHA-1 hash length 12+ chars> ("Complete commit subject")

_

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