Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261221AbUKICMd (ORCPT ); Mon, 8 Nov 2004 21:12:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261229AbUKICMd (ORCPT ); Mon, 8 Nov 2004 21:12:33 -0500 Received: from fw.osdl.org ([65.172.181.6]:31699 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261221AbUKICMc (ORCPT ); Mon, 8 Nov 2004 21:12:32 -0500 Date: Mon, 8 Nov 2004 18:12:24 -0800 From: Chris Wright To: Borislav Deianov Cc: len.brown@intel.com, Chris Wright , Karsten Wiese , Andrew Morton , linux-kernel@vger.kernel.org, Ingo Molnar , acpi-devel@lists.sourceforge.net Subject: Re: [PATCH] ibm-acpi-0.8 (was Re: 2.6.10-rc1-mm3) Message-ID: <20041108181224.F2357@build.pdx.osdl.net> References: <200411081334.18751.annabellesgarden@yahoo.de> <200411082240.02787.annabellesgarden@yahoo.de> <20041108153022.N14339@build.pdx.osdl.net> <20041109013013.GA21832@aero.ensim.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20041109013013.GA21832@aero.ensim.com>; from borislav@users.sourceforge.net on Mon, Nov 08, 2004 at 05:30:13PM -0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 23 * Borislav Deianov (borislav@users.sourceforge.net) wrote: > On Mon, Nov 08, 2004 at 03:30:22PM -0800, Chris Wright wrote: > > > > The init error cleanup paths are broken in that driver. It creates the > > /proc/acpi/ibm dir and forgets to clean it up. Partially that's due to > > returning directly from the macro IBM_HANDLE_INIT_REQ. This should help. > > Yikes. Guilty as charged. > > I reworked Chris's patch a bit and tried both the error and non-error > case here. Len, if it looks good, please apply. Ah, even better. Thanks Boris. BTW, you could probably mark ibm_init() and ibm_handle_init() as __init. -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - 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/