From: Andy Shevchenko Date: Tue, 3 Sep 2013 12:17:56 +0000 (+0300) Subject: atm: he: print MAC via %pM X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f8de31040d50b7e4c26a5ca4c02b2929dde34a58;p=openwrt%2Fstaging%2Fblogic.git atm: he: print MAC via %pM Signed-off-by: Andy Shevchenko Signed-off-by: David S. Miller --- diff --git a/drivers/atm/he.c b/drivers/atm/he.c index 507362a76a73..449f6298dc89 100644 --- a/drivers/atm/he.c +++ b/drivers/atm/he.c @@ -1088,15 +1088,8 @@ static int he_start(struct atm_dev *dev) for (i = 0; i < 6; ++i) dev->esi[i] = read_prom_byte(he_dev, MAC_ADDR + i); - hprintk("%s%s, %x:%x:%x:%x:%x:%x\n", - he_dev->prod_id, - he_dev->media & 0x40 ? "SM" : "MM", - dev->esi[0], - dev->esi[1], - dev->esi[2], - dev->esi[3], - dev->esi[4], - dev->esi[5]); + hprintk("%s%s, %pM\n", he_dev->prod_id, + he_dev->media & 0x40 ? "SM" : "MM", dev->esi); he_dev->atm_dev->link_rate = he_is622(he_dev) ? ATM_OC12_PCR : ATM_OC3_PCR;