projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976d167
)
RDMA/amso1100: Use '%pM' format option to print MAC
author
Andy Shevchenko
<
[email protected]
>
Thu, 6 Oct 2011 16:32:24 +0000
(09:32 -0700)
committer
Roland Dreier
<
[email protected]
>
Thu, 6 Oct 2011 16:32:24 +0000
(09:32 -0700)
Signed-off-by: Andy Shevchenko <
[email protected]
>
Acked-by: Steve Wise <
[email protected]
>
Signed-off-by: Roland Dreier <
[email protected]
>
drivers/infiniband/hw/amso1100/c2_provider.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/amso1100/c2_provider.c
b/drivers/infiniband/hw/amso1100/c2_provider.c
index f101bb73be631c684227e4a456fceb7bbd658722..12f923d64e42d075a68edd778fb0c9246919eca5 100644
(file)
--- 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)
memcpy_fromio(netdev->dev_addr, c2dev->kva + C2_REGS_RDMA_ENADDR, 6);
/* Print out the MAC address */
- pr_debug("%s: MAC %02X:%02X:%02X:%02X:%02X:%02X\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]);
+ pr_debug("%s: MAC %pM\n", netdev->name, netdev->dev_addr);
#if 0
/* Disable network packets */