]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
checkpatch: document new check PLACEHOLDER_USE
authorOnur Özkan <work@onurozkan.dev>
Wed, 17 Sep 2025 17:37:25 +0000 (20:37 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 12 Nov 2025 00:48:29 +0000 (16:48 -0800)
Adds documentation for the new check PLACEHOLDER_USE in checkpatch.

Link: https://lkml.kernel.org/r/20250917173725.22547-3-work@onurozkan.dev
Signed-off-by: Onur Özkan <work@onurozkan.dev>
Acked-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/dev-tools/checkpatch.rst

index d5c47e560324fb2399a5b1bc99c891ed1de10535..4dccd1036870929b9676a7739cac06d9a8bc7bbf 100644 (file)
@@ -1245,6 +1245,16 @@ Others
     The patch file does not appear to be in unified-diff format.  Please
     regenerate the patch file before sending it to the maintainer.
 
+  **PLACEHOLDER_USE**
+    Detects unhandled placeholder text left in cover letters or commit headers/logs.
+    Common placeholders include lines like::
+
+      *** SUBJECT HERE ***
+      *** BLURB HERE ***
+
+    These typically come from autogenerated templates. Replace them with a proper
+    subject and description before sending.
+
   **PRINTF_0XDECIMAL**
     Prefixing 0x with decimal output is defective and should be corrected.