checkpatch: warn for non-standard fixes tag style
Subsystems (4)
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.
Signed-off-by Niklas Söderlund <[email protected]>
Reviewed-by Simon Horman <[email protected]>
Reviewed-by Louis Peens <[email protected]>
---
* 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
@@ -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