[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1254407291.18167.98.camel@desktop>
Date: Thu, 01 Oct 2009 07:28:11 -0700
From: Daniel Walker <dwalker@...o99.com>
To: Andy Whitcroft <apw@...onical.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Subject: Re: [PATCH 5/5] checkpatch: fix false EXPORT_SYMBOL warning
On Wed, 2009-09-30 at 18:46 +0100, Andy Whitcroft wrote:
> In theory the thing we are exporting can be an arbitrary number of lines
> prior to the EXPORT_SYMBOL statement. We actually want to look at the
> statement before the EXPORT_*.
Why not maintain a variable that holds the name of the function of
structure that is currently getting parsed .. So that you wouldn't need
to look back X lines to find anything ? Or did you do that in the
0.29-5-* version?
Daniel
--
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