Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp47770ybe; Thu, 12 Sep 2019 15:23:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqywxX2YQ/M+OUiIBkTG19KJsHwBclDTMPxdNyDt+cgGAy96XvabNE6Xt+jxiRQXySMC4+Pv X-Received: by 2002:aa7:d8cf:: with SMTP id k15mr45355067eds.195.1568327001099; Thu, 12 Sep 2019 15:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568327001; cv=none; d=google.com; s=arc-20160816; b=gwe0boMJKWTr4sVomBde2Sfwb+ohrkY8s9isoQTrmB0P+4+ryJNDVOv3Ufw1SSdgID 3JoDdppyuU58R9/ptiLNMLNGoFLAvHjkT4KGjlJ9+bWR60O8j3v/dUIQgpg9SUX4X2oe p4wgyKGohfFuSD4fxQaFGAIzuaqNUbqD/1wWQzVgjLiF0heSAjiZLJMzCsLqGr8koZww waApY5QawKI6XuUKWidofhW/nZBwnkv5DO73bb7ku3fBs8t8porgr/mMK2CHX/ZXMkfk oyiGbMYE4lVE+RSm3K13VM2Lpp+6IqvxmJKZ4W34Yr/RY3ByOBeIXnlUKsgn+PJvFK6c okkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:subject:cc:to :from:date; bh=jvxTANkfT+l6WPxF+kkACdMKNVU9tUsM69XXvdHkpmM=; b=VPomCDipy/iOlu3gPzIp+bPTWza2kzaE4C44mkKXFLBNqqx5LnPBqA5zFZ0t63OTbL RhMzBbzNeRN0iFiGjpNJVjP37r5FFBjdeXFwdCWlFKwJ3AC0VbS3/7Nqc0YiEX6Xy6+8 go73CeAwhMASt4ADQ1/9YlAJlNxvOF5Ez/SUAORwUDa4Wb2LHggo4HKCnr6Qd586mLaP XT4+PhaFz4SNq7CVeGLh9VrmgLccLX8rP/9QbjJFybUES6drpYP99gnajeyQAwm0HRxp GyqPoiarvy/ROKYv6wzlOmfSFpqBqeXcFowPdwnir9Ufqjha3YAqlsJNXAU4fyoWnIG7 M6cw== 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 hh9si6881788ejb.213.2019.09.12.15.22.57; Thu, 12 Sep 2019 15:23:21 -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 S1728095AbfILUzQ (ORCPT + 99 others); Thu, 12 Sep 2019 16:55:16 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:49112 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727862AbfILUzQ (ORCPT ); Thu, 12 Sep 2019 16:55:16 -0400 Received: (qmail 6533 invoked by uid 2102); 12 Sep 2019 16:55:15 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Sep 2019 16:55:15 -0400 Date: Thu, 12 Sep 2019 16:55:15 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Andy Whitcroft , Joe Perches cc: Kernel development list Subject: [PATCH] checkpatch.pl: Don't complain about nominal authors if there isn't one Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 '' 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"); }