aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2010-12-01 21:45:08 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-08 11:53:41 -0500
commit58e481f66e31e9976558f3e4f709baf9201052fe (patch)
treeb9e0dfbdbcdbd722a81b96c36c18809f61ea21dc /drivers/atm
parentcfa969e385a23e4c85f50e0ed5de25a2e18bf9d4 (diff)
atm: lanai: use kernel's '%pM' format option to print MAC
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Chas Williams <chas@cmf.nrl.navy.mil> Cc: linux-atm-general@lists.sourceforge.net Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/lanai.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c
index cbe15a86c669..930051d941a7 100644
--- a/drivers/atm/lanai.c
+++ b/drivers/atm/lanai.c
@@ -2241,11 +2241,8 @@ static int __devinit lanai_dev_open(struct atm_dev *atmdev)
2241 memcpy(atmdev->esi, eeprom_mac(lanai), ESI_LEN); 2241 memcpy(atmdev->esi, eeprom_mac(lanai), ESI_LEN);
2242 lanai_timed_poll_start(lanai); 2242 lanai_timed_poll_start(lanai);
2243 printk(KERN_NOTICE DEV_LABEL "(itf %d): rev.%d, base=0x%lx, irq=%u " 2243 printk(KERN_NOTICE DEV_LABEL "(itf %d): rev.%d, base=0x%lx, irq=%u "
2244 "(%02X-%02X-%02X-%02X-%02X-%02X)\n", lanai->number, 2244 "(%pMF)\n", lanai->number, (int) lanai->pci->revision,
2245 (int) lanai->pci->revision, (unsigned long) lanai->base, 2245 (unsigned long) lanai->base, lanai->pci->irq, atmdev->esi);
2246 lanai->pci->irq,
2247 atmdev->esi[0], atmdev->esi[1], atmdev->esi[2],
2248 atmdev->esi[3], atmdev->esi[4], atmdev->esi[5]);
2249 printk(KERN_NOTICE DEV_LABEL "(itf %d): LANAI%s, serialno=%u(0x%X), " 2246 printk(KERN_NOTICE DEV_LABEL "(itf %d): LANAI%s, serialno=%u(0x%X), "
2250 "board_rev=%d\n", lanai->number, 2247 "board_rev=%d\n", lanai->number,
2251 lanai->type==lanai2 ? "2" : "HB", (unsigned int) lanai->serialno, 2248 lanai->type==lanai2 ? "2" : "HB", (unsigned int) lanai->serialno,