drivers/atm/nicstar.c: use %pM to show MAC address
authorhartleys <hartleys@visionengravers.com>
Tue, 5 Jan 2010 06:28:08 +0000 (06:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2010 09:13:54 +0000 (01:13 -0800)
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>
drivers/atm/nicstar.c

index 3da804b1627d6b7e8578b381aae4b2c3f7c51be1..50838407b11792e61bbff23373e33ace90ab0a8d 100644 (file)
@@ -807,9 +807,7 @@ static int __devinit ns_init_card(int i, struct pci_dev *pcidev)
       }
    }
 
-   printk("nicstar%d: MAC address %02X:%02X:%02X:%02X:%02X:%02X\n", i,
-          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("nicstar%d: MAC address %pM\n", i, card->atmdev->esi);
 
    card->atmdev->dev_data = card;
    card->atmdev->ci_range.vpi_bits = card->vpibits;