Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 17 Oct 2002 22:21:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 17 Oct 2002 22:19:42 -0400 Received: from dp.samba.org ([66.70.73.150]:6891 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id ; Thu, 17 Oct 2002 22:19:06 -0400 From: Rusty Russell To: Christoph Hellwig Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Module loader preparation In-reply-to: Your message of "Thu, 17 Oct 2002 14:33:08 +0100." <20021017143308.A24271@infradead.org> Date: Fri, 18 Oct 2002 11:39:04 +1000 Message-Id: <20021018022503.2B1A22C24E@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 872 Lines: 21 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/