From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id CE77BDE1CE for ; Thu, 25 Jan 2007 12:05:42 +1100 (EST) In-Reply-To: <1169685931.24996.16.camel@localhost.localdomain> References: <20061218163846.337fed65@localhost> <45882913.2000609@acm.org> <20061220154517.6341fce6@localhost> <200612210111.28186.arnd@arndb.de> <20070125104540.65a1f557@localhost> <1169682996.24996.11.camel@localhost.localdomain> <523FF36A-46DF-40CA-BFFE-EDE95EFA3EFE@kernel.crashing.org> <1169685931.24996.16.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: From: Segher Boessenkool Subject: Re: [patch 1/1] updated version, fixed the compiler warning Date: Thu, 25 Jan 2007 02:05:22 +0100 To: Benjamin Herrenschmidt Cc: Arnd Bergmann , linuxppc-dev@ozlabs.org, Paul Mackerras , Christian Krafft , openipmi-developer@lists.sourceforge.net, Krafft List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >>>> +static int __devexit ipmi_of_remove(struct of_device *dev) >>>> +{ >>>> + /* should call >>>> + * cleanup_one_si(dev->dev.driver_data); */ >>>> + return 0; >>>> +} >>> >>> If your remove doesn't work, don't implement one. >> >> As explained before, it's the underlying thing that doesn't >> work. Yeah someone should fix it one day. Still it's better >> to have this comment than to not have anything at all. An >> XXX FIXME: tag wouldn't be out of place of course. > > If the underlying ipmi stuff cannot cleanup, then the driver should > not > have a module_exit() so the module cannot be removed. Well the "base" IPMI code has this same FIXME. Also, it seems to be safe to just exit in this particular case )not a clean way to go about things, of course). Anyway, it sounds like Christian has a fix, let's see what he comes up with :-) Segher