[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1405129840.6751.28.camel@joe-AO725>
Date: Fri, 11 Jul 2014 18:50:40 -0700
From: Joe Perches <joe@...ches.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: devel@...verdev.osuosl.org,
kernel-janitors <kernel-janitors@...r.kernel.org>,
kernelnewbies@...nelnewbies.org,
LKML <linux-kernel@...r.kernel.org>,
Dan Carpenter <dan.carpenter@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] reformat_with_checkpatch: Add automation to checkpatch
On Fri, 2014-07-11 at 18:43 -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.
[]
> If I pick drivers/staging/lustre/include/linux/lnet/types.h, then I get:
>
> staging: lnet: checkpatch cleanup: whitespace neatening
>
> and no 'types.h' here, is that intentional? If so, why?
Yes, it's how it's written.
It uses just the directory name, not any basename($file)
It can be changed if that's what's desired.
> And this is fun, I'm going to let this rip on the lustre code...
It doesn't autocommit, it does show the various changes
it makes and asks you to accept them.
I suppose that could be automated with something better
than "yes", but I didn't want it to be completely automatic.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists