Re: [PATCH] checkpatch: avoid error report caused by syzbot

From: Yisheng Xie
Date: Wed Feb 28 2018 - 19:45:44 EST


Hi Joe,

On 2018/3/1 0:37, Joe Perches wrote:
> On Wed, 2018-02-28 at 17:10 +0800, Yisheng Xie wrote:
>> syzbot request to add his reported-by when fix the bug find by syzbot.
>> However, it will trigger a error when use checkpatch:
>>
>> ERROR: Unrecognized email address: 'syzbot+d7a918a7a8e1c952bc36@xxxxxxxxxxxxxxxxxxxxxxxxx'
>>
>> For it include '+' in email and make regular expression works abnomal. Fix
>> it by adding check for syzbot.
>>
>> Signed-off-by: Yisheng Xie <xieyisheng1@xxxxxxxxxx>
>
> Nack.
>
> There's a proper patch already in -next
>

Thanks for the information.

Thanks
Yisheng

> commit 14e45b3ecdb03211ab32656cd84e66fd6a28343e
> Author: Joe Perches <joe@xxxxxxxxxxx>
> Date: Thu Feb 22 09:59:45 2018 +1100
>
> checkpatch: improve parse_email signature checking
>
> Bare email addresses with non alphanumeric characters require escape
> quoting before being substituted in the parse_email routine.
>
> e.g. Reported-by: syzbot+bbd8e9a06452cc48059b@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> Do so.
>
> Link: http://lkml.kernel.org/r/1518631805.3678.12.camel@xxxxxxxxxxx
>
>
> .
>