Re: List of possible duplicated include files in include/

From: Robert P. J. Day
Date: Sun Nov 04 2007 - 14:03:27 EST


On Sun, 4 Nov 2007, Marco Costalba wrote:

> On 11/4/07, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
> > On Sun, 4 Nov 2007, Marco Costalba wrote:
> >
> > > Here the number of false positives is overhelming, but perhaps
> > > there are also _real_ duplicated include somewhere in the bunch:
> > >
> > > include/acpi/acpi_bus.h:
> > > #include <linux/device.h>
> >
> > ... snip header file output ...
> >
> > i deliberately left out header files from my script output. i can
> > tweak the script and add this to the web page as well.
> >
>
> Here the real job is to fliter out false positives more then print
> out the list I would say ;-)

i don't think there are a lot of false positives there and, in any
event, it's a case of diminishing returns -- if you can get most of
what you want with two minutes of quick-and-dirty scripting, there's
not much point in spending another 10 or 15 minutes trying to tidy
things up only a little.

just my $0.02 canadian, which is finally worth more than $0.02
american. :-)

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================
-
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/