Received: by 10.223.185.116 with SMTP id b49csp6829090wrg; Wed, 28 Feb 2018 16:46:35 -0800 (PST) X-Google-Smtp-Source: AH8x226SOqgRu89KlCCtsAQK/FyipVeIiLW9xf8e1xgaFATDMN4U+tLeUCa4SsRShcqPtQFWEF7o X-Received: by 2002:a17:902:3183:: with SMTP id x3-v6mr19747151plb.383.1519865195210; Wed, 28 Feb 2018 16:46:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519865195; cv=none; d=google.com; s=arc-20160816; b=Jcr5hdA2hHoMtLRPi9c5NxO3n06W51PaNsgs8yfeLEgOXn5uMFErj1xBrIjFQQaKzp fpJZACnEPz4SSkJt+qOFj+5oTJ+XljYnbnolGHQv3Wb/KDm6RLtdQiFLdfdvrH+A7Ok0 MGUcNzgsXczJ8V162Ei/VI9MyqN69YLTUlDx7UQFB9fbu1kgUoPxcb3Lc514VEWOleij f/Zcv3MIhpwKMnx1GSzXWzWAT30hQ/bb9KvlxhAZhdfSxLRPpE6OySprECdHNb8V0GQD sPKxp9dm83yfPTcuNrBb8CJuyRjMEcJ8KANwM6ilbtGG3Tu5zsGOwPKcQgOpgXfPfsyA RFcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=iwVTlVQckNPTUx7lqJZ/4AAxyk6+tUQ+fNU3+sIKP7s=; b=HC4HidbCVdZ67+p8SjzYdNSoUMfjr03aDsdibA3fOEkNVpYNjTsAV6+HW9hwRx/ltn WYECKiOeSW9rJ9yFZB3T8qVxCWHNnCsmw1qOo5EopE4Uv5gj8yPl6uK4GouyNFTQB5gk zH/S5TvJBPdmm6a/oPGQYhdb3Px9i3mvZRP3ttE4n4Ka6/7eJfVRO9D0QntHZEsS1QZr TdZhITHTifqXnMOXTjuC+evG1dPYEVF97jVPzBNtyJPv6xOghZZ4GGQ+TeHPnw92UIfa o07MLK5r5ZFkWzmLaAQKPdUCD8bF8OTuL5vvDi8fZTEifmuWcmN7EHMHkmNulmE7aMUA do0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4-v6si2069414plb.568.2018.02.28.16.46.19; Wed, 28 Feb 2018 16:46:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965357AbeCAAph (ORCPT + 99 others); Wed, 28 Feb 2018 19:45:37 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:5686 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965328AbeCAApf (ORCPT ); Wed, 28 Feb 2018 19:45:35 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 725002A571722; Thu, 1 Mar 2018 08:45:21 +0800 (CST) Received: from [127.0.0.1] (10.177.29.40) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.361.1; Thu, 1 Mar 2018 08:45:20 +0800 Subject: Re: [PATCH] checkpatch: avoid error report caused by syzbot To: Joe Perches , , References: <1519809018-1736-1-git-send-email-xieyisheng1@huawei.com> <1519835851.30349.7.camel@perches.com> CC: From: Yisheng Xie Message-ID: <4b58143b-2dc4-0d7c-e450-8e07cadb11c6@huawei.com> Date: Thu, 1 Mar 2018 08:44:31 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <1519835851.30349.7.camel@perches.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.40] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@syzkaller.appspotmail.com' >> >> For it include '+' in email and make regular expression works abnomal. Fix >> it by adding check for syzbot. >> >> Signed-off-by: Yisheng Xie > > Nack. > > There's a proper patch already in -next > Thanks for the information. Thanks Yisheng > commit 14e45b3ecdb03211ab32656cd84e66fd6a28343e > Author: Joe Perches > 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@syzkaller.appspotmail.com > > Do so. > > Link: http://lkml.kernel.org/r/1518631805.3678.12.camel@perches.com > > > . >