Received: from eggs.gnu.org ([2001:4830:134:3::10]:35586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXQlm-0002CN-88 for qemu-devel@nongnu.org; Wed, 10 Aug 2016 06:29:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXQlf-0002ta-Md for qemu-devel@nongnu.org; Wed, 10 Aug 2016 06:29:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXQlf-0002tV-Gk for qemu-devel@nongnu.org; Wed, 10 Aug 2016 06:29:47 -0400 References: <1470817370-145190-1-git-send-email-pbonzini@redhat.com> <1470817370-145190-5-git-send-email-pbonzini@redhat.com> <1615109044.796866.1470824702137.JavaMail.zimbra@redhat.com> From: Thomas Huth Message-ID: Date: Wed, 10 Aug 2016 12:29:43 +0200 MIME-Version: 1.0 In-Reply-To: <1615109044.796866.1470824702137.JavaMail.zimbra@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/5] checkpatch: bump most warnings to errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, armbru@redhat.com, famz@redhat.com, cornelia huck On 10.08.2016 12:25, Paolo Bonzini wrote: > >>> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl >>> index 714a000..ab08ca2 100755 >>> --- a/scripts/checkpatch.pl >>> +++ b/scripts/checkpatch.pl >>> @@ -1289,11 +1289,11 @@ sub process { >>> # This is a signoff, if ugly, so do not double report. >>> $signoff++; >>> if (!($line =~ /^\s*Signed-off-by:/)) { >>> - WARN("Signed-off-by: is the preferred form\n" . >>> + ERROR("Signed-off-by: is the preferred form\n" . >>> $herecurr); >>> } >> >> If you turn this into an ERROR, it's not the "preferred form" anymore, >> but the "mandated form". So I'd suggest to either keep it as WARN or to >> rephrase the message. > > What about: > > ERROR("Signed-off-by: is spelled with uppercase \"s\"\n" . > $herecurr); That would still be confusing if I'd spell it like "Signed-Off-BY", for example. Maybe the outer check should simply not be case-insensitive, then you could remove this check here completely? Thomas