Messages in this thread | | | From | "Keller, Jacob E" <> | Subject | RE: [PATCH] checkpatch: fix camel case seeding when run with --root | Date | Wed, 20 Mar 2019 22:24:45 +0000 |
| |
> -----Original Message----- > From: Joe Perches [mailto:joe@perches.com] > Sent: Wednesday, March 20, 2019 2:18 PM > To: Keller, Jacob E <jacob.e.keller@intel.com>; linux-kernel@vger.kernel.org; > apw@canonical.com; Joe Perches <golf@perches.com> > Cc: Intel Wired LAN <intel-wired-lan@lists.osuosl.org>; netdev@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@vger.kernel.org > > > Cc: Intel Wired LAN <intel-wired-lan@lists.osuosl.org>; netdev@vger.kernel.org; > > > Keller, Jacob E <jacob.e.keller@intel.com>; joe@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
| |