summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorTobias Klauser <klto@zhaw.ch>2009-09-05 20:24:23 -0700
committerRoland Dreier <rolandd@cisco.com>2009-09-05 20:24:23 -0700
commit181c74e87eb93df447a759af93cf0a279875ea7d (patch)
treedd9359d25ccd5163ca1bba84ccb584300a4304cf /drivers/infiniband
parent6276e08a9bdf645b71a092fb4530baf4f6c4c6eb (diff)
downloadblackbird-op-linux-181c74e87eb93df447a759af93cf0a279875ea7d.tar.gz
blackbird-op-linux-181c74e87eb93df447a759af93cf0a279875ea7d.zip
RDMA/amso1100: Use %pM conversion specifier
Use the %pM conversion specifier to print a MAC address. Signed-off-by: Tobias Klauser <klto@zhaw.ch> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/amso1100/c2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2.c b/drivers/infiniband/hw/amso1100/c2.c
index 0cfbb6d2f762..8250740c94b0 100644
--- a/drivers/infiniband/hw/amso1100/c2.c
+++ b/drivers/infiniband/hw/amso1100/c2.c
@@ -86,11 +86,7 @@ MODULE_DEVICE_TABLE(pci, c2_pci_table);
static void c2_print_macaddr(struct net_device *netdev)
{
- pr_debug("%s: MAC %02X:%02X:%02X:%02X:%02X:%02X, "
- "IRQ %u\n", netdev->name,
- netdev->dev_addr[0], netdev->dev_addr[1], netdev->dev_addr[2],
- netdev->dev_addr[3], netdev->dev_addr[4], netdev->dev_addr[5],
- netdev->irq);
+ pr_debug("%s: MAC %pM, IRQ %u\n", netdev->name, netdev->dev_addr, netdev->irq);
}
static void c2_set_rxbufsize(struct c2_port *c2_port)
OpenPOWER on IntegriCloud