Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1348415

RE: [PATCH] checkpatch.pl: add switch to turn off check for Change-Id

From "Pottratz, Dwane" <dwane.pottratz@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH] checkpatch.pl: add switch to turn off check for Change-Id
Date 2016-03-02 20:20 +0100
Message-ID <r8kts-41q-9@gated-at.bofh.it> (permalink)
References <r7Xnd-4qM-47@gated-at.bofh.it> <r80l4-6wz-13@gated-at.bofh.it> <r81TQ-7Bj-37@gated-at.bofh.it> <r81TQ-7Bj-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Joe,

Locally I will remove the patch and use the '--ignore' option.  

Is there anything I need to do for upstream?  (Sorry, I am new to submitting patches upstream)

-Dwane

-----Original Message-----
From: Joe Perches [mailto:joe@perches.com] 
Sent: Tuesday, March 1, 2016 3:22 PM
To: Pottratz, Dwane <dwane.pottratz@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>; LKML <linux-kernel@vger.kernel.org>; Andy Whitcroft <apw@canonical.com>
Subject: Re: [PATCH] checkpatch.pl: add switch to turn off check for Change-Id

On Tue, 2016-03-01 at 21:49 +0000, Pottratz, Dwane wrote:
> Good to know.  Thx.

Andrew picked this up, but it might be better to remove your patch and just use the --ignore option as --ignore is generic and your patch just duplicates the capability.


> 
> -----Original Message-----
> From: Joe Perches [mailto:joe@perches.com]
> Sent: Tuesday, March 1, 2016 1:41 PM
> To: Pottratz, Dwane <dwane.pottratz@intel.com>; apw@canonical.com; li 
> nux-kernel@vger.kernel.org; 'akpm@linux-foundation.org' <akpm@linux-f 
> oundation.org>
> Subject: Re: [PATCH] checkpatch.pl: add switch to turn off check for 
> Change-Id
> 
> On Tue, 2016-03-01 at 18:37 +0000, Pottratz, Dwane wrote:
> > 
> > A commit hook for the Gerrit code review servers inserts change 
> > identifiers.  These identifiers are noise in the context of the 
> > upstream kernel.  However, they are needed in most development 
> > environments and the error needs to be ignored for static analysis 
> > tools.
> btw: another way to do this is to use the --ignore <foo-list> option.
> 
> $ ./scripts/checkpatch.pl --ignore gerrit_change_id <patch>
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] checkpatch.pl: add switch to turn off check for Change-Id "Pottratz, Dwane" <dwane.pottratz@intel.com> - 2016-03-01 19:40 +0100
  Re: [PATCH] checkpatch.pl: add switch to turn off check for  Change-Id Joe Perches <joe@perches.com> - 2016-03-01 22:50 +0100
    Re: [PATCH] checkpatch.pl: add switch to turn off check for  Change-Id Joe Perches <joe@perches.com> - 2016-03-02 00:30 +0100
      RE: [PATCH] checkpatch.pl: add switch to turn off check for  Change-Id "Pottratz, Dwane" <dwane.pottratz@intel.com> - 2016-03-02 20:20 +0100
        Re: [PATCH] checkpatch.pl: add switch to turn off check for  Change-Id Joe Perches <joe@perches.com> - 2016-03-02 20:20 +0100

csiph-web