[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0911152351530.30372@ask.diku.dk>
Date: Sun, 15 Nov 2009 23:54:25 +0100 (CET)
From: Julia Lawall <julia@...u.dk>
To: Arnd Bergmann <arnd@...db.de>
Cc: Joe Perches <joe@...ches.com>, Ingo Molnar <mingo@...e.hu>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Am??rico Wang <xiyou.wangcong@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] sysctl.c: Change a .proc_handler = proc_dointvec to
&proc_dointvec,
On Sun, 15 Nov 2009, Arnd Bergmann wrote:
> On Sunday 15 November 2009 20:40:25 Julia Lawall wrote:
> > It would be possible to count the number of occurrences in a given file,
> > and then change the ones that have the less popular format, or a format
> > that occurs less than some percentage of time.
>
> How many of the 600 files use both formats?
This time I considered only cases where the function is defined in the
same file, not where the function is presented only as a prototype. I
get:
502 files that use both options
83 files that only use & for function pointers
9374 files that never use & for function pointers
(Only files that use at least one of the options are considered.)
julia
--
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