Skip to contentSkip to conversation

checkpatch: warn for non-standard fixes tag style

PATCH Superseded Niklas Söderlund 1 participant 1 message Sep 5, 2022

Subsystems (4)

v2 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 checkpatch: warn for non-standard fixes tag style

Add a warning for fixes tags that does not fall in line with the standards specified by the community.

---
* Changes since v1
- Update the documentation wording and add mention one cause of the message can be that email program splits the tag over multiple lines.

---
 Documentation/dev-tools/checkpatch.rst |  8 +++++
 scripts/checkpatch.pl                  | 41 ++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
Documentation/dev-tools/checkpatch.rst +8 -0
index b52452bc2963..8c8456a3bd18 100644
@@ -612,6 +612,14 @@ Commit message
 
     See: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes
 
+  **BAD_FIXES_TAG**
+    The Fixes: tag is malformed or does not fall in line with the standards
+    specified by the community. This can occur if the tag have been split into
+    multiple lines (e.g., when pasted in email program with word wrapping
+    enabled).
+
+    See: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes
+
 
 Comparison style
 ----------------
scripts/checkpatch.pl +41 -0

47 lines not on this page · raw message

Signature · 1 line
2.37.3