Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264565AbUASMB0 (ORCPT ); Mon, 19 Jan 2004 07:01:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264575AbUASMB0 (ORCPT ); Mon, 19 Jan 2004 07:01:26 -0500 Received: from dp.samba.org ([66.70.73.150]:4737 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id S264565AbUASMBZ (ORCPT ); Mon, 19 Jan 2004 07:01:25 -0500 Date: Mon, 19 Jan 2004 22:42:19 +1100 From: Rusty Russell To: Andrew Morton Cc: jamagallon@able.es, linux-kernel@vger.kernel.org, netdev@oss.sgi.com Subject: Re: 2.6.1-mm4 Message-Id: <20040119224219.65991501.rusty@rustcorp.com.au> In-Reply-To: <20040118001708.09291455.akpm@osdl.org> References: <20040115225948.6b994a48.akpm@osdl.org> <20040118001217.GE3125@werewolf.able.es> <20040117215535.0e4674b8.akpm@osdl.org> <20040118081128.GA3153@werewolf.able.es> <20040118001708.09291455.akpm@osdl.org> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 964 Lines: 25 On Sun, 18 Jan 2004 00:17:08 -0800 Andrew Morton wrote: > Presumably, recent gcc's remove the variable altogether and just expand the > constant inline. When the central module code checks for the parameter's > existence in the module's symbol table it errors out. MODULE_PARM considered harmful. Unfortunately, there's no easy way of fixing this, since MODULE_PARM() is often used on variables which aren't declared yet 8(. (I tried this in an early patch). Migrating to module_param() is the Right Thing here IMHO, which actually takes the damn address, Rusty. -- there are those who do and those who hang on and you don't see too many doers quoting their contemporaries. -- Larry McVoy - 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/