Re: [PATCH] Fix vmi time header bug

From: Andrew Morton
Date: Tue Mar 13 2007 - 09:00:15 EST


> On Tue, 13 Mar 2007 13:45:06 +0100 Andi Kleen <ak@xxxxxxx> wrote:
> On Tuesday 13 March 2007 07:46, Zachary Amsden wrote:
> > Andrew Morton wrote:
> > > Really truly? I think we have a _lot_ of declarations which omit the
> > > section qualifier altogether. How come they don't all break too?
> >
> > User build was smoking this:
> >
> > make O=build -j16
> >
> > This and non-repeatable results make me suspect some kind of build
> > dependency problem, or perhaps a make bug. Still, please apply, as it
> > doesn't hurt.
>
> I don't think the patch should make any difference, so that's not needed.
>

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).

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