Re: [PATCH 1/7] checkpatch: Implement new --ignore-cfg parameter
From: Joe Perches
Date: Thu Nov 16 2017 - 12:10:18 EST
(adding Andrew Morton)
On Thu, 2017-11-16 at 18:01 +0100, Knut Omang wrote:
> This parameter is intended to be used in a subsequent commit to kbuild to allow
> a convenient way to run checkpatch from make.
_why_ is this useful?
> By accepting comments and multiple lines of commands, the idea is that the
> maintainer or someone else with good knowledge of the code can maintain a file
> per directory and group the different commands into commented sections that can
> serve both as documentation of the current checkpatch status, a way to define
> the line of tolerance (and gradually tighten it as fixes comes in) and as
> documentation of TODOs and dont's if there are well justified exceptions.
checkpatch can be run any time over individual files
so I don't find this compelling.
Does anyone else?