drivers/atm/idt77252.c: use %pM to show MAC address
Subsystems (3)
PATCH 1/1 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 <[email protected]>
Cc David S. Miller <[email protected]>
---
Repost due to merge issues.
drivers/atm/idt77252.c +1 -4
@@ -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>
From: H Hartley Sweeten <[email protected]>
Date: Tue, 5 Jan 2010 09:24:23 -0700
Quoted 3 lines
Use the %pM kernel extension to display the MAC address.
Signed-off-by H Hartley Sweeten <[email protected]>
Applied.