From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261407AbVGTIa5 (ORCPT ); Wed, 20 Jul 2005 04:30:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261414AbVGTIa4 (ORCPT ); Wed, 20 Jul 2005 04:30:56 -0400 Received: from ns.firmix.at ([62.141.48.66]:56734 "EHLO ns.firmix.at") by vger.kernel.org with ESMTP id S261282AbVGTIax (ORCPT ); Wed, 20 Jul 2005 04:30:53 -0400 Subject: Re: [PATCH 22/82] remove linux/version.h from drivers/message/fus ion From: Bernd Petrovitsch To: Matt Domsch Cc: "Moore, Eric Dean" , Olaf Hering , Andrew Morton , linux-kernel@vger.kernel.org, James Bottomley , linux-scsi@vger.kernel.org In-Reply-To: <20050720031249.GA18042@humbolt.us.dell.com> References: <91888D455306F94EBD4D168954A9457C03281EB4@nacos172.co.lsil.com> <20050720031249.GA18042@humbolt.us.dell.com> Content-Type: text/plain Organization: Firmix Software GmbH Date: Wed, 20 Jul 2005 10:30:10 +0200 Message-Id: <1121848210.12525.6.camel@tara.firmix.at> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2005-07-19 at 22:12 -0500, Matt Domsch wrote: > On Tue, Jul 19, 2005 at 06:07:41PM -0600, Moore, Eric Dean wrote: [...] > > What you illustrated above is not going to work. > > If your doing #ifndef around a function, such as scsi_device_online, it's > > not going to compile > > when scsi_device_online is already implemented in the kernel tree. > > The routine scsi_device_online is a function, not a define. For a define > > this would work. > > Sure it does, function names are defined symbols. Defined for the preprocessor or the pure C-compiler or both of them? Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services