On Thu, Aug 30, 2007 at 09:05:34PM -0700, Randy.Dunlap wrote:
>
> e.g., linux kernel source code: init/do_mounts.c, line 23 is:
>
> int __initdata rd_doload;
>
>
> and sparse (snapshot of 2007-08-31) says:
>
> init/do_mounts.c:23:16: warning: symbol 'rd_doload' was not declared.
> Should it be static?
IIRC this is because sparse did not see a "extern int rd_doload; in a .h file so
the symbol is most probarly not used outside do_mounts.c.
So it give a hint that this symbol could be made static.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html