summaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorhartleys <hartleys@visionengravers.com>2010-01-05 07:24:23 +0100
committerDavid S. Miller <davem@davemloft.net>2010-01-07 10:13:56 +0100
commitaaa09ee7287d31f57f4dc8b4acca5cd59c1595f5 (patch)
tree663569550cd73e40fb5e5ffbfd92e6d3189a296a /drivers/atm
parentdrivers/net/ixgbe/ixgbe_common.c: use %pM to show MAC address (diff)
downloadlinux-aaa09ee7287d31f57f4dc8b4acca5cd59c1595f5.tar.xz
linux-aaa09ee7287d31f57f4dc8b4acca5cd59c1595f5.zip
drivers/atm/idt77252.c: use %pM to show MAC address
Use the %pM kernel extension to display the MAC address. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/idt77252.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c
index e33ae0025b12..01f36c08cb52 100644
--- a/drivers/atm/idt77252.c
+++ b/drivers/atm/idt77252.c
@@ -3557,10 +3557,7 @@ init_card(struct atm_dev *dev)
if (tmp) {
memcpy(card->atmdev->esi, tmp->dev_addr, 6);
- printk("%s: ESI %02x:%02x:%02x:%02x:%02x:%02x\n",
- card->name, card->atmdev->esi[0], card->atmdev->esi[1],
- card->atmdev->esi[2], card->atmdev->esi[3],
- card->atmdev->esi[4], card->atmdev->esi[5]);
+ printk("%s: ESI %pM\n", card->name, card->atmdev->esi);
}
/*
* XXX: </hack>