Re: [PATCH] sysctl.c: Change a .proc_handler = proc_dointvec to&proc_dointvec,

From: Julia Lawall
Date: Sun Nov 15 2009 - 17:54:32 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/