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@xxxxxxxxxxxxxx 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 - : send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html