Re: [PATCH 1/7] tty: xuartps: Sort #includes alphabetically

From: Greg Kroah-Hartman
Date: Wed May 01 2013 - 09:30:39 EST


On Wed, May 01, 2013 at 08:50:09AM +0200, Michal Simek wrote:
> On 05/01/2013 02:23 AM, Greg Kroah-Hartman wrote:
> > On Tue, Apr 30, 2013 at 05:05:40PM -0700, Sören Brinkmann wrote:
> >> On Tue, Apr 30, 2013 at 05:00:48PM -0700, Greg Kroah-Hartman wrote:
> >>> On Tue, Apr 30, 2013 at 04:57:58PM -0700, Soren Brinkmann wrote:
> >>>> Signed-off-by: Soren Brinkmann <soren.brinkmann@xxxxxxxxxx>
> >>>> CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> >>>> CC: Jiri Slaby <jslaby@xxxxxxx>
> >>>> CC: linux-serial@xxxxxxxxxxxxxxx
> >>>
> >>> Why would you need/want to do this?
> >> I often come across duplicated includes. Having some kind of order helps
> >> avoiding that, imho.
> >
> > We have a tool to handle duplicated includes, no need to put them in
> > sorted order for them to be detected.
>
> What's the name of tool which does that?
> I have seen results from it but have never tried to find it out name and
> how to use it.

scripts/checkincludes.pl

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/