On Fri, 2022-09-09 at 22:25 +0200, Niklas Söderlund wrote: > Add a warning for fixes tags that does not fall in line with the > standards specified by the community. [] > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -3140,6 +3140,47 @@ sub process { [] > + if ($ctitle ne $title || $tag_case || $tag_space || > + $id_length || $id_case || !$title_has_quotes) { > + WARN("BAD_FIXES_TAG", > + "Please use correct Fixes: style 'Fixes: <12 chars of sha1> (\"<title line>\")' - ie: 'Fixes: $cid (\"$ctitle\")'\n" . $herecurr); BTW: Might as well add a --fix for Fixes: if (WARN("...") && $fix) { $fixed[$fixlinenr] = "Fixes: $cid (\"$ctitle\")"; }