[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49A5E876.1000501@zytor.com>
Date: Wed, 25 Feb 2009 16:55:18 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: David Howells <dhowells@...hat.com>
CC: Justin Chen <jchen@...st41.cup.hp.com>, linux-arch@...r.kernel.org,
bjorn.helgaas@...com, justin.chen@...com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 14/15] bitops: Change the bitmap index from int to unsigned
long [frv]
David Howells wrote:
>
>> A casual grep finds no less than 3524 instances of "static inline <type>" --
>> presumably with a function name following -- and only 447 instances of
>> "static inline" without a type in the kernel.
>
> But how does it break down between "static inline type\nfunction_name" and
> "static inline\ntype function_name"? That's more to the point.
>
I believe that is the breakdown is roughly what you see above, i.e. over
8:1; the pattern I used was looking for "^static inline[^;(]*$", and a
visual examination of the results shows that even if my line count is
slighly off the lopsidedness is still dramatic.
-hpa
--
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