lkml.org 
[lkml]   [2002]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Module loader preparation
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.075 / U:5.616 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site