Re: [PATCH] Fix vmi time header bug

From: Jeremy Fitzhardinge
Date: Tue Mar 13 2007 - 13:32:40 EST


Andrew Morton wrote:
> Correctly matching the section annotation on declarations and definitions
> is needed by at least ARM. We should ensure that we do this on all future
> patches and we should also apply this patch if only for this reason.
>
> (The ARM thing is a pain, because the compiler cannot check that the
> definition and declaration match. However something like sparse could do
> so).
>

It's also useful documentation. Knowing whether a function is __init is
an important part of its interface.

J
-
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/