Re: Bogus section mismatch errors?

From: David Miller
Date: Tue May 08 2007 - 16:41:14 EST


From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Tue, 8 May 2007 13:52:20 +0200

> There are in slab a function that is not marked __init that refer to a function marked
> __init. But the logic surrounding makes it OK.
>
> I have no fix/workaround for this.
> Andres has suggested that we should mark functions/data that may refer to __init{data}
> with something like: __nowarn and __nowarndata
>
> I am planning to implement something so we can mark functions/data with:
> __init_ref_ok and _init_data_ref_ok
> Which is indeed more ugly but expalins what is actually OK.
>
> I hope to take a look during the weekend.

Thanks for working on this, it's the only mismatch I still see
on sparc64 in current GIT :-)
-
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/