Re: [PATCH] Module loader preparation

Rusty Russell (rusty@rustcorp.com.au)
Fri, 18 Oct 2002 11:39:04 +1000


In message <20021017143308.A24271@infradead.org> you write:
> I don't think requiring a init func is a good idea. Please fix
> your module loader to generate a stub if no module_init() is
> present instead.

But where do you generate the module name (a module now knows its own
name, in the .modulename section)? We could do an extra step in the
module build where we generate this and link it in, bit given that
we're talking about a handful of trivial modules, I don't think it's
worth it.

> init_module() sounds like a good idea to me, though.

Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/