[Linux-kernel-mentees] checkpatch.pl improvement: NO_AUTHOR_SIGN_OFF warnings for users with multiple emails

Lukas Bulwahn lukas.bulwahn at gmail.com
Mon Sep 21 13:27:22 UTC 2020



On Mon, 21 Sep 2020, Joe Perches wrote:

> 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.
> 
>

Agree. Dwaipayan, I pointed you to read_mailmap here already:

https://lore.kernel.org/linux-kernel-mentees/alpine.DEB.2.21.2009181238230.14717@felia/

Lukas 


More information about the Linux-kernel-mentees mailing list