Messages in this thread | | | Date | Mon, 22 Nov 2004 11:54:20 +0100 (MET) | From | Geert Uytterhoeven <> | Subject | Re: [PATCH 475] HP300 LANCE |
| |
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/
| |