Re: [RETRY] [PATCH] load_module: no BUG if module_subsys uninitialized

From: Greg KH
Date: Fri Sep 22 2006 - 16:17:12 EST


On Fri, Sep 22, 2006 at 12:48:48PM -0700, Ed Swierk wrote:
> [I discovered after sending my previous message that Gmail helpfully
> line-wrapped and de-tabified my patch. I'm resending it as an
> attachment; apologies for the error.]
>
> Invoking load_module() before param_sysfs_init() is called crashes in
> mod_sysfs_setup(), since the kset in module_subsys is not initialized
> yet.

How are you calling load_module before this init call is made?

thanks,

greg k-h
-
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/