[PATCH 0/2] feat: checkpatch: prohibit Buglink: and warn about missing Link:

From: Kai Wasserbäch
Date: Sun Dec 04 2022 - 06:39:39 EST


Hey,
Thorsten Leemhuis suggested the following two changes to checkpatch, which
I hereby humbly submit for review. Please let me know if any changes
would be required for acceptance.

NOTES:
- checkpatch is rather long, so I might have chosen the wrong section to
add these two checks. Any better placement suggestion is welcome.
- checkpatch implements custum versions of Perl core modules, that might
be an future area for clean-ups? Eg. right off the bat there is a
`uniq` implementation. List::Util (core module since 5.8.0 (5.7.3 to
be pedantic)) has a far better performing version in XS.

Cheers,
Kai

Suggested-by: Thorsten Leemhuis <linux@xxxxxxxxxxxxx>
Signed-off-by: Kai Wasserbäch <kai@xxxxxxxxxxxxxxxxxxxxxx>


Kai Wasserbäch (2):
feat: checkpatch: error on usage of a Buglink tag in the commit log
feat: checkpatch: Warn about Reported-by: not being followed by a
Link:

scripts/checkpatch.pl | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

--
2.35.1