Cfr. commit 104bf3fb963cbc39c6675b23d46d2c9ab3f311d8 ("ethernet: Convert ETHER_ADDR_LEN uses to ETH_ALEN") Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> --- drivers/net/ethernet/8390/atari_ethernec.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/8390/atari_ethernec.c b/drivers/net/ethernet/8390/atari_ethernec.c index 4fb22ce..086d968 100644 --- a/drivers/net/ethernet/8390/atari_ethernec.c +++ b/drivers/net/ethernet/8390/atari_ethernec.c @@ -645,12 +645,12 @@ static int __init ne_probe1(struct net_device *dev, int ioaddr) #ifdef CONFIG_PLAT_MAPPI outb_p(E8390_NODMA + E8390_PAGE1 + E8390_STOP, ioaddr + E8390_CMD); /* 0x61 */ - for (i = 0; i < ETHER_ADDR_LEN; i++) { + for (i = 0; i < ETH_ALEN; i++) { dev->dev_addr[i] = SA_prom[i] = inb_p(ioaddr + EN1_PHYS_SHIFT(i)); printk(" %2.2x", SA_prom[i]); } #else - for (i = 0; i < ETHER_ADDR_LEN; i++) { + for (i = 0; i < ETH_ALEN; i++) { printk(" %2.2x", SA_prom[i]); dev->dev_addr[i] = SA_prom[i]; } -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html