Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261885AbUKVA2V (ORCPT ); Sun, 21 Nov 2004 19:28:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261858AbUKVA0C (ORCPT ); Sun, 21 Nov 2004 19:26:02 -0500 Received: from www22.dixiesys.com ([216.180.251.227]:11418 "EHLO www22.dixiesys.com") by vger.kernel.org with ESMTP id S261895AbUKVAZt (ORCPT ); Sun, 21 Nov 2004 19:25:49 -0500 Subject: Re: [PATCH 475] HP300 LANCE From: Sohail Somani To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org In-Reply-To: <20041121161244.1a5ff193.akpm@osdl.org> References: <200410311003.i9VA3UMN009557@anakin.of.borg> <20041101142245.GA28253@infradead.org> <20041116084341.GA24484@infradead.org> <20041116231248.5f61e489.akpm@osdl.org> <20041121161244.1a5ff193.akpm@osdl.org> Content-Type: text/plain Date: Sun, 21 Nov 2004 16:25:15 -0800 Message-Id: <1101083116.20032.0.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 566 Lines: 19 On Sun, 2004-11-21 at 16:12 -0800, Andrew Morton wrote: > +#define dio_resource_len(d) \ > + ((d)->resource.end - (d)->resource.start) > > but dio.h has: > > #define dio_resource_len(d) ((d)->resource.end-(z)->resource.start+1) > > > Which is correct? Where did z come from in the second definition anyway? - 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/