[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1204112046080.3300@oneiric>
Date: Wed, 11 Apr 2012 20:46:38 -0400 (EDT)
From: "Robert P. J. Day" <rpjday@...shcourse.ca>
To: David Daney <ddaney.cavm@...il.com>
cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: almost time to run my kernel source cleaning scripts again?
On Wed, 11 Apr 2012, David Daney wrote:
> On 04/11/2012 02:07 PM, Robert P. J. Day wrote:
> >
> > it's been a while so i was thinking of firing up my scripts to
> > peruse the source tree looking for oddities/inconsistencies/whatever
> > (unless someone else is already doing that).
> >
> > one example is looking for preprocessor tests of symbols that aren't
> > defined in any Kconfig file, and i can focus on any part of the source
> > tree. for example, if i run that script against drivers/mmc, i get:
> [...]
> >
> > > > > > > CAVIUM_OCTEON_NUM_PACKET_BUFFERS
> > drivers/staging/octeon/ethernet-defines.h:36: *
> > CONFIG_CAVIUM_OCTEON_NUM_PACKET_BUFFERS
> > drivers/staging/octeon/ethernet.c:56:#if
> > defined(CONFIG_CAVIUM_OCTEON_NUM_PACKET_BUFFERS) \
> > drivers/staging/octeon/ethernet.c:57: &&
> > CONFIG_CAVIUM_OCTEON_NUM_PACKET_BUFFERS
> > drivers/staging/octeon/ethernet.c:58:int num_packet_buffers =
> > CONFIG_CAVIUM_OCTEON_NUM_PACKET_BUFFERS;
>
> I am aware of these and am working on fixing them.
sorry, i wasn't trying to pick on anyone, it was just a random
example.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
--
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