Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755858AbYAZJUL (ORCPT ); Sat, 26 Jan 2008 04:20:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753105AbYAZJTx (ORCPT ); Sat, 26 Jan 2008 04:19:53 -0500 Received: from ozlabs.org ([203.10.76.45]:43826 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753066AbYAZJTw (ORCPT ); Sat, 26 Jan 2008 04:19:52 -0500 From: Rusty Russell To: Greg KH Subject: Re: [GIT PATCH] driver core patches against 2.6.24 Date: Sat, 26 Jan 2008 20:19:01 +1100 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) Cc: Linus Torvalds , Andrew Morton , linux-kernel@vger.kernel.org, Tejun Heo References: <20080125071127.GA4860@kroah.com> <200801261550.58337.rusty@rustcorp.com.au> <20080126053509.GC27403@suse.de> In-Reply-To: <20080126053509.GC27403@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801262019.01590.rusty@rustcorp.com.au> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1159 Lines: 31 On Saturday 26 January 2008 16:35:09 Greg KH wrote: > On Sat, Jan 26, 2008 at 03:50:57PM +1100, Rusty Russell wrote: > > That's pretty early, and before this backtrace. > > But that doesn't catch the case here, of trying to load a module when > the code itself is already built into the kernel. Ah, I missed that, sorry. > For that we are > relying on the sysfs core to tell us we have a duplicate name problem, > which happens much later. > > Is there any test you can do sooner, or is relying on the sysfs test > acceptable? As you pointed out, that's always been a "configure your kernel correctly, stupid" kind of bug. Nicer would be to have a list of in-kernel "modules" generated by the build system, but sysfs is there and it's easy to hang our hats off... So, no objections to this with that as a FIXME, and a change so the message says "module is already built into the kernel". Thanks, Rusty. -- 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/