[Linux-kernel-mentees] checkpatch.pl improvement: NO_AUTHOR_SIGN_OFF warnings for users with multiple emails
joe at perches.com
Mon Sep 21 12:24:52 UTC 2020
On Mon, 2020-09-21 at 17:41 +0530, Dwaipayan Ray wrote:
> One possible solution is while parsing the author, also load mailmap
> and load associated email addresses to the author and load it
> into a hash. Next when a signed-off-by line is encountered and
> the email is found in our hash ( or maybe some other ds ), then
> the signed-off-by match should be positive.
> Is this feasible? I would be looking at other possibilities too. But it
> would be great to have your view on it!
Either copy the mailmap handling out of get_maintainer
or strip it from get_maintainer and put it into a
separate perl module/file.
More information about the Linux-kernel-mentees