Re: [PATCH 2.6] Natsemi - remove compilation warnings

From: Linus Torvalds
Date: Thu Sep 30 2004 - 13:29:11 EST




On Thu, 30 Sep 2004, Andrey S. Klochko wrote:
>
> > -#define mii_delay(dev) readl(dev->base_addr + EECtrl)
> > +#define mii_delay(dev) readl(ioaddr + EECtrl)
> ^^^
> Probably this should be
> +#define mii_delay(ioaddr) readl(ioaddr + EECtrl)

Yes. Good catch, will fix.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/