Re: rtl8187 driver in 2.6.23-rc6-git5: kernel panic if not used asa module. Works as a module.

From: Johannes Berg
Date: Mon Sep 17 2007 - 05:49:45 EST


On Sa, 2007-09-15 at 21:00 +0200, Eric Valette wrote:

> I came to this conclusion too. But I would have preferred to have
> #define subsys_exit(fn) modules_exit(fn)
>
> in the case of a module and nop in the non module case...

module_exit is a no-op anyway in the non-modular case, it's never
called, so what's the point?

johannes

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