projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e05a61
)
drivers/net/vxge/vxge-main.c: use %pM to show MAC address
author
hartleys
<hartleys@visionengravers.com>
Tue, 5 Jan 2010 06:59:23 +0000
(06:59 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 7 Jan 2010 09:13:58 +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/net/vxge/vxge-main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/vxge/vxge-main.c
b/drivers/net/vxge/vxge-main.c
index f1c4b2a1e8678ea43085c55f522a1ea12d599979..5f0e7ea0d493c852df1a2b91c8d84b57f8285b5a 100644
(file)
--- a/
drivers/net/vxge/vxge-main.c
+++ b/
drivers/net/vxge/vxge-main.c
@@
-4297,10
+4297,8
@@
vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre)
vxge_debug_init(VXGE_TRACE, "%s: Neterion %s Server Adapter",
vdev->ndev->name, ll_config.device_hw_info.product_desc);
- vxge_debug_init(VXGE_TRACE,
- "%s: MAC ADDR: %02X:%02X:%02X:%02X:%02X:%02X",
- vdev->ndev->name, macaddr[0], macaddr[1], macaddr[2],
- macaddr[3], macaddr[4], macaddr[5]);
+ vxge_debug_init(VXGE_TRACE, "%s: MAC ADDR: %pM",
+ vdev->ndev->name, macaddr);
vxge_debug_init(VXGE_TRACE, "%s: Link Width x%d",
vdev->ndev->name, vxge_hw_device_link_width_get(hldev));