Re: [PATCH] link errors with internal calls to devexit functions

From: Keith Owens (kaos@ocs.com.au)
Date: Sat Dec 22 2001 - 04:13:37 EST


On Sat, 22 Dec 2001 10:04:19 +0100 (CET),
Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> wrote:
>I'd rather think that the patch (and the original code) is broken, as it
>seems we call an __devexit function from an init function. So
>the correct fix is to remove the __devexit attribute from the offending
>functions.

Andrew Morton said the same thing and I agree. The code is broken, no
amount of fancy wrappers will fix that. This is the perfect example of
why the new binutils are good, they are catching broken code.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:27 EST