Messages in this thread | | | Subject | Re: [PATCH] reformat_with_checkpatch: Add automation to checkpatch | From | Joe Perches <> | Date | Fri, 11 Jul 2014 18:57:24 -0700 |
| |
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
| |