Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1405056ybe; Fri, 13 Sep 2019 16:25:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxuhmvu1sQuWWEyHdRjN0YuGSL9+EGWVgs3GvwYvgVvQ1M6lOz0RQiG5BV6NSP1sBNoHfFF X-Received: by 2002:aa7:dd07:: with SMTP id i7mr50495162edv.133.1568417142266; Fri, 13 Sep 2019 16:25:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568417142; cv=none; d=google.com; s=arc-20160816; b=eenwRKHMOxNraqMoQVmRQ+rvzXjKSX5mH48jqa0Pp5zc+GIIe6UEQMavaq4UMaL4BB cvXbB31qkpXSioNfFrYv1qx78n0kYxyQWhZ3fceWbHoZoMLv+GxBDOOc1MC5XSWwFBjU khvbM+cQd07y3kBAAotiDU05IAYhDt+VQ22PIhUkVSf6cozh6i4nPezsAnUApJHfG3xH n362aUZS2lTqChVMY5qHFp+33FP/2wmRF+U1LbsFHou7Zvs6mmsSPdFW+T+74PIqb7aZ d8e5hQxmk2Wa9YNWMW81Ea2EVc98Avs7zexwvlM5Jm8OKeLuPSLhFdBzK4V0Ii08L8tC MvFA== 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:in-reply-to :subject:cc:to:from:date; bh=4Csrn/v1Jhd9trkx+ALyZGno2TQGAQXOLGudMRvMx3I=; b=YeeQg0PzoJpFds/ravruo4ZngXxqkqEpbZM2Vs6UKsB4yG8y6o1j27zZB5HvGfcK9d qfMCztqVhmCnSRkNJxR4eP7ZatT+o/df6MlCcUWsS+ZEnFWCtEzKt33nxhe9ijfPFOMU p8vd7QqvDDMM8cyv7ncQnYY2lmo+oJlOYVGGH/bVYCf+zzm+Y310L/vk4Ra5VYq1NKMf 1KyHd+TxRjCL9Q1yVNo9bS7fDo1qIeGecS4Ui1GodhX6BIIpw4I4BgIHQHDIZPcjzzKA ma/BE4ud9PxOMWP2BsmRvCdvNqsUeMPR4wEi/odXBaLkjKfjuR2eJZJW5gASdPXtjdY8 8ibQ== 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 t37si19832983edd.25.2019.09.13.16.25.18; Fri, 13 Sep 2019 16:25:42 -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 S1729522AbfIMOWH (ORCPT + 99 others); Fri, 13 Sep 2019 10:22:07 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:53298 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727405AbfIMOWH (ORCPT ); Fri, 13 Sep 2019 10:22:07 -0400 Received: (qmail 1755 invoked by uid 2102); 13 Sep 2019 10:22:05 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 13 Sep 2019 10:22:05 -0400 Date: Fri, 13 Sep 2019 10:22:05 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Joe Perches cc: Andy Whitcroft , Kernel development list Subject: Re: [PATCH] checkpatch.pl: Don't complain about nominal authors if there isn't one In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1559625215-505712803-1568384525=:1466" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---1559625215-505712803-1568384525=:1466 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 12 Sep 2019, Joe Perches wrote: > 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. The patch itself is a good example. Attached to this email is the patch file in the form I keep it (from quilt, not git; note that quilt doesn't do a good job of handling the "---" line so I leave it out and insert it when submitting the patch). Try saving the attachment and running it through checkpatch.pl. Here's what I get: $ scripts/checkpatch.pl /tmp/checkpatch-author-fix.patch WARNING: Missing Signed-off-by: line by nominal patch author '' total: 0 errors, 1 warnings, 8 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. /tmp/checkpatch-author-fix.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Would you like me to resubmit the patch with this example added to the patch description? Alan Stern ---1559625215-505712803-1568384525=:1466 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="checkpatch-author-fix.patch" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="checkpatch-author-fix.patch" Y2hlY2twYXRjaC5wbCBzaG91bGRuJ3Qgd2FybiBhYm91dCBhICJNaXNzaW5n IFNpZ25lZC1vZmYtYnk6IGxpbmUgYnkNCm5vbWluYWwgcGF0Y2ggYXV0aG9y IiBpZiB0aGVyZSBpcyBubyBub21pbmFsIHBhdGNoIGF1dGhvci4gIFdpdGhv dXQNCnRoaXMgY2hhbmdlLCBjaGVja3BhdGNoIGFsd2F5cyBnaXZlcyBtZSB0 aGUgZm9sbG93aW5nIHdhcm5pbmc6DQoNCglXQVJOSU5HOiBNaXNzaW5nIFNp Z25lZC1vZmYtYn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