From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: 2.6.3 oops at kobject_unregister, alsa & aic7xxx Date: Mon, 23 Feb 2004 23:32:18 -0800 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20040223233218.73e61a9e.akpm@osdl.org> References: <1077546633.362.28.camel@boxen> <20040223160716.799195d0.akpm@osdl.org> <1077602725.3172.19.camel@opiate> <20040223221740.5786b0b3.akpm@osdl.org> <1077606462.3172.38.camel@opiate> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from fw.osdl.org ([65.172.181.6]:8861 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262193AbUBXHcO (ORCPT ); Tue, 24 Feb 2004 02:32:14 -0500 In-Reply-To: <1077606462.3172.38.camel@opiate> List-Id: linux-scsi@vger.kernel.org To: Eric Kerin Cc: alexn@telia.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Eric Kerin wrote: > > The AIC drivers are currently coded to unload (by returning -ENODEV from > the init function) if no devices are found, so the exit function never > gets called, leaving the stale entries. Oh, OK, leaving the PCI driver registered. > There's a 2nd patch in the above thread that changes those modules to > stay loaded even if no devices are found, which Arjan V pointed out was > the preferred way for drivers to work. Sounds good. Do you have that patch handy?