[Intel-wired-lan] [PATCH] checkpatch: fix camel case seeding when run with --root

Keller, Jacob E jacob.e.keller at intel.com
Wed Mar 20 22:24:45 UTC 2019


> -----Original Message-----
> From: Joe Perches [mailto:joe at perches.com]
> Sent: Wednesday, March 20, 2019 2:18 PM
> To: Keller, Jacob E <jacob.e.keller at intel.com>; linux-kernel at vger.kernel.org;
> apw at canonical.com; Joe Perches <golf at perches.com>
> Cc: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>; netdev at vger.kernel.org
> Subject: Re: [PATCH] checkpatch: fix camel case seeding when run with --root
> 
> On Wed, 2019-03-20 at 20:09 +0000, Keller, Jacob E wrote:
> > > -----Original Message-----
> > > From: Keller, Jacob E
> > > Sent: Thursday, March 14, 2019 6:04 PM
> > > To: linux-kernel at vger.kernel.org
> > > Cc: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>; netdev at vger.kernel.org;
> > > Keller, Jacob E <jacob.e.keller at intel.com>; joe at perches.com
> > > Subject: [PATCH] checkpatch: fix camel case seeding when run with --root
> > >
> > > checkpatch.pl avoids warning about camel case of some definitions by
> > > seeding a file that tracks all of the currently committed camel case
> > > definitions.
> > >
> > > To build this seed file, checkpatch.pl decides between using git or the
> > > --root parameter.
> > >
> > > This works as long as you don't run checkpatch.pl from within
> > > a different git tree that is not the Linux kernel.
> 
> Odd use case, but I'll forward it on as it doesn't
> seem to have any other effect.
> 
> cheers, Joe

We run checkpatch.pl on Linux driver code which is out-of-tree to start with, and then will eventually be migrated into the in-tree kernel later as we develop it.

Without this patch, the use of checkpatch.pl with --root causes bogus hits with camel case issues.

Thanks,
Jake


More information about the Intel-wired-lan mailing list