[PATCH] reformat_with_checkpatch: Add automation to checkpatch
Joe Perches
joe at perches.com
Fri Jul 11 21:57:24 EDT 2014
On Fri, 2014-07-11 at 18:53 -0700, Greg KH wrote:
> On Fri, Jul 11, 2014 at 06:21:27PM -0700, Joe Perches wrote:
> > A simple script to run checkpatch --fix for various types of
> > of cleanups.
[]
> Anyway, try running this script on
> drivers/staging/lustre/lnet/lnet/acceptor.c to see how this build fails.
lustre doesn't use "normal" kernel makefiles.
I supposed that the entire staging/lustre/
path could be built for every change, but for
most of staging, and nearly all of the rest
of the kernel tree, using:
make <path>file.o
works.
I know there can be many enhancements to the
reformat script, but I think a minimally
acceptable version is a decent start.
So, thanks for trying it out.
And keep the complaints coming.
cheers, Joe
More information about the Kernelnewbies
mailing list