mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
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>
This commit is contained in:
parent
976d167615
commit
2be6053318
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user