Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp49883ybe; Thu, 12 Sep 2019 15:26:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxt+F4El6Lpa2BGK/WxIIvl/znYhvkguM9oDPMIuLaU0R/BRALPV7Qvfts9HhOP7PqZh9vG X-Received: by 2002:a17:906:3659:: with SMTP id r25mr20507579ejb.53.1568327164852; Thu, 12 Sep 2019 15:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568327164; cv=none; d=google.com; s=arc-20160816; b=evbsyLzkuhWk+mQZvRtNAbZvepji+iJ29YoPur7epWNx2e26ybJA/DmXvfHvfy8wHV CtPrWLoWU/QareUU4UjGSuDT2TxCEfmIziZWksS+x7aFrKnrpDg5AkBGZNRenWkNYSdY Iq9zgzik7/Wk2HxUBbFIgIYoQIyNjuJ+mgSAVJnUtqCfeoT//RGYqSTaDW/HxPTNiUyp ZShgcCUL+LwWJDJjXrpD5MyerEth2yXctMWri4KY3ErEb9sdGeyVApt0Ii9r7yl4d/Eu aJC1B/KvmTST5VvLgf6gymV+Ys7ZcOycc2NPQmPwLQ4+lbaSJkdvvjtf4wwGY9Km20Gi S+aw== 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:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=IWsMRqoNi/QLFyqWg5OZnmM+z4nPWiYN6wVE4JHRImA=; b=VGioBq1B1l5bqJopc2+ZAd8Tms4YeV2HnJZ0/U2mtqwFRPlh3RmZ2kWMJr044BfDL7 CaT08TlY09Gz+Pz0ep4IV8Qeg2Y0bpmsxHG7YENw6D7Twq/05iV23g6jV+3I3WZDoG10 0QGXDs2Wd0Dtdnq5InvFV0WlExB6Ukbzd5iZxbrTMNUCNrq/WsPAPDvyAb1bMKTORL83 D2Qe2aWIcwvYo9EfZl9ViiFeCgmoFYo3MpxVG0b7tLZ3w6RMsCNU0blfzn611wpEUGF2 4HzDQS3B4kEDcQURkQw0JVBLLtilR0WCsJ+wAfXHcB71PqbV7ADArZgnYb0DHpaiAFrg AfoA== 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 pv19si13473808ejb.181.2019.09.12.15.25.41; Thu, 12 Sep 2019 15:26:04 -0700 (PDT) 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 S1728264AbfILVJG (ORCPT + 99 others); Thu, 12 Sep 2019 17:09:06 -0400 Received: from smtprelay0043.hostedemail.com ([216.40.44.43]:38089 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728249AbfILVJG (ORCPT ); Thu, 12 Sep 2019 17:09:06 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id 529AE180A884F; Thu, 12 Sep 2019 21:09:05 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::,RULES_HIT:41:355:379:599:960:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:1801:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3871:4321:4605:5007:7903:10004:10400:10848:11026:11232:11473:11658:11914:12043:12291:12297:12683:12740:12760:12895:13069:13255:13311:13357:13439:14181:14659:14721:21080:21451:21627:30054:30070:30091,0,RBL:47.151.152.152:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:27,LUA_SUMMARY:none X-HE-Tag: fog75_4f3e7db1c3c36 X-Filterd-Recvd-Size: 2110 Received: from XPS-9350.home (unknown [47.151.152.152]) (Authenticated sender: joe@perches.com) by omf05.hostedemail.com (Postfix) with ESMTPA; Thu, 12 Sep 2019 21:09:04 +0000 (UTC) Message-ID: Subject: Re: [PATCH] checkpatch.pl: Don't complain about nominal authors if there isn't one From: Joe Perches To: Alan Stern , Andy Whitcroft Cc: Kernel development list Date: Thu, 12 Sep 2019 14:09:03 -0700 In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.32.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-09-12 at 16:55 -0400, Alan Stern wrote: > checkpatch.pl shouldn't warn about a "Missing Signed-off-by: line by > nominal patch author" if there is no nominal patch author. Without > this change, checkpatch always gives me the following warning: > > WARNING: Missing Signed-off-by: line by nominal patch author '' When/how does this occur? Example please. > Signed-off-by: Alan Stern > > --- > > scripts/checkpatch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: usb-devel/scripts/checkpatch.pl > =================================================================== > --- usb-devel.orig/scripts/checkpatch.pl > +++ usb-devel/scripts/checkpatch.pl > @@ -6673,7 +6673,7 @@ sub process { > if ($signoff == 0) { > ERROR("MISSING_SIGN_OFF", > "Missing Signed-off-by: line(s)\n"); > - } elsif (!$authorsignoff) { > + } elsif ($author ne '' && !$authorsignoff) { > WARN("NO_AUTHOR_SIGN_OFF", > "Missing Signed-off-by: line by nominal patch author '$author'\n"); > } >