Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262068AbUKVK72 (ORCPT ); Mon, 22 Nov 2004 05:59:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262058AbUKVK6G (ORCPT ); Mon, 22 Nov 2004 05:58:06 -0500 Received: from witte.sonytel.be ([80.88.33.193]:51453 "EHLO witte.sonytel.be") by vger.kernel.org with ESMTP id S262068AbUKVKyi (ORCPT ); Mon, 22 Nov 2004 05:54:38 -0500 Date: Mon, 22 Nov 2004 11:54:20 +0100 (MET) From: Geert Uytterhoeven To: Sohail Somani cc: Andrew Morton , Linux Kernel Development , linux-net@vger.kernel.org Subject: Re: [PATCH 475] HP300 LANCE In-Reply-To: <1101083116.20032.0.camel@localhost> Message-ID: References: <200410311003.i9VA3UMN009557@anakin.of.borg> <20041101142245.GA28253@infradead.org> <20041116084341.GA24484@infradead.org> <20041116231248.5f61e489.akpm@osdl.org> <20041121161244.1a5ff193.akpm@osdl.org> <1101083116.20032.0.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1044 Lines: 32 On Sun, 21 Nov 2004, Sohail Somani wrote: > 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? I guess it got copied from linux/zorro.h... It's a bug which went unnoticed, and got fixed in the mean time. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - 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/