Skip to contentSkip to conversation

checkpatch: add dedicated checker for 'Fixes:' tag

PATCH Markus Elfring 1 participant 1 message Apr 27, 2020 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

length, so I think it is better to add dedicated checker for 'Fixes:' TAG.

I suggest to reconsider also this wording once more.

…

Quoted 2 lines

+++ b/scripts/checkpatch.pl

(quoted diff) +0 -0
@@ -2820,7 +2820,7 @@ sub process {

…

Review

Quoted 2 lines
(quoted diff) +2 -0
+				ERROR("FIXES_TAG",
+					"please use the 'Fixes:' tag with the first 12 characters of the SHA-1 ID, and the one line summary(no across multiple lines)\n" . $herecurr);

* Would you like to take another information better into account?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=6a8b55ed4056ea5559ebe4f6a4b247f627870d4c#n177

“…
You should also be sure to use at least the first twelve characters … …”

* Is the information questionable also from the parenthesised text in the error message from the Perl code?

Regards,
Markus