Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261681AbUAINt5 (ORCPT ); Fri, 9 Jan 2004 08:49:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261606AbUAINty (ORCPT ); Fri, 9 Jan 2004 08:49:54 -0500 Received: from phoenix.infradead.org ([213.86.99.234]:16904 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S261595AbUAINts (ORCPT ); Fri, 9 Jan 2004 08:49:48 -0500 Date: Fri, 9 Jan 2004 13:49:42 +0000 From: Christoph Hellwig To: Adrian Bunk Cc: Andrew Morton , Jes Sorensen , Christoph Hellwig , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [patch] 2.6.1-rc2-mm1: qla1280.c doesn't compile Message-ID: <20040109134942.A24302@infradead.org> Mail-Followup-To: Christoph Hellwig , Adrian Bunk , Andrew Morton , Jes Sorensen , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org References: <20040107232831.13261f76.akpm@osdl.org> <20040109015229.GK13867@fs.tum.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040109015229.GK13867@fs.tum.de>; from bunk@fs.tum.de on Fri, Jan 09, 2004 at 02:52:30AM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 926 Lines: 20 On Fri, Jan 09, 2004 at 02:52:30AM +0100, Adrian Bunk wrote: > I got the following compile error when trying to compile this driver > statically into a kernel with hotplug enabled: Jes, that's your ifdef-magic around around qla1280_remove_one.. Do you remember why you added it? The only case we don't need it is when the driver is builtin and CONFIG_HOTPLUG is not set - and in that case __devexit should get rid of it for us. > Since I don't see a good reason why qla1280_remove_one is #ifdef'ed out > in the non-modular case the patch below fixes this problem by removing > two #ifdef's. The patch looks good to me. In fact that's how it was in the patch I sent to Jes.. - 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/