aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2011-10-06 12:32:24 -0400
committerRoland Dreier <roland@purestorage.com>2011-10-06 12:32:24 -0400
commit2be6053318aa4f2787b7bc5cf5160017d7d1586b (patch)
tree2b8450985fda128b6b981e8cca7245963ec334c9 /drivers/infiniband
parent976d167615b64e14bc1491ca51d424e2ba9a5e84 (diff)
RDMA/amso1100: Use '%pM' format option to print MAC
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/amso1100/c2_provider.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2_provider.c b/drivers/infiniband/hw/amso1100/c2_provider.c
index f101bb73be63..12f923d64e42 100644
--- a/drivers/infiniband/hw/amso1100/c2_provider.c
+++ b/drivers/infiniband/hw/amso1100/c2_provider.c
@@ -753,10 +753,7 @@ static struct net_device *c2_pseudo_netdev_init(struct c2_dev *c2dev)
753 memcpy_fromio(netdev->dev_addr, c2dev->kva + C2_REGS_RDMA_ENADDR, 6); 753 memcpy_fromio(netdev->dev_addr, c2dev->kva + C2_REGS_RDMA_ENADDR, 6);
754 754
755 /* Print out the MAC address */ 755 /* Print out the MAC address */
756 pr_debug("%s: MAC %02X:%02X:%02X:%02X:%02X:%02X\n", 756 pr_debug("%s: MAC %pM\n", netdev->name, netdev->dev_addr);
757 netdev->name,
758 netdev->dev_addr[0], netdev->dev_addr[1], netdev->dev_addr[2],
759 netdev->dev_addr[3], netdev->dev_addr[4], netdev->dev_addr[5]);
760 757
761#if 0 758#if 0
762 /* Disable network packets */ 759 /* Disable network packets */