Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932482AbVKUXgX (ORCPT ); Mon, 21 Nov 2005 18:36:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932483AbVKUXgX (ORCPT ); Mon, 21 Nov 2005 18:36:23 -0500 Received: from 22.107.233.220.exetel.com.au ([220.233.107.22]:32518 "EHLO arnor.apana.org.au") by vger.kernel.org with ESMTP id S932482AbVKUXgW (ORCPT ); Mon, 21 Nov 2005 18:36:22 -0500 Date: Tue, 22 Nov 2005 10:36:09 +1100 To: Richard Knutsson Cc: akpm@osdl.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, jgarzik@pobox.com, ashutosh.naik@gmail.com Subject: Re: [PATCH -mm2] net: Fix compiler-error on dgrs.c when !CONFIG_PCI Message-ID: <20051121233609.GB27327@gondor.apana.org.au> References: <4382563E.50502@student.ltu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4382563E.50502@student.ltu.se> User-Agent: Mutt/1.5.9i From: Herbert Xu Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 21 On Tue, Nov 22, 2005 at 12:20:30AM +0100, Richard Knutsson wrote: > > Am thinking of removing the #ifdef CONFIG_PCI's in other files, to > "clean up" the code, but that would introduce this problem again, don't > you think it is more readable to make an empty struct when !CONFIG_PCI, > then making new pci_*-functions specific to the driver? I think my version is more readable. However, it's really up to Jeff to decide. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - 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/