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

From: Joe Perches
Date: Tue Mar 01 2016 - 16:41:28 EST


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>