net: convert more to %pM
A number of places still use %02x:...:%02x because it's in debug statements or for no real reason. Make a few of them use %pM. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
e174961ca1
commit
7c510e4b73
@@ -9851,11 +9851,8 @@ static void bnx2x_set_rx_mode(struct net_device *dev)
|
||||
mclist && (i < dev->mc_count);
|
||||
i++, mclist = mclist->next) {
|
||||
|
||||
DP(NETIF_MSG_IFUP, "Adding mcast MAC: "
|
||||
"%02x:%02x:%02x:%02x:%02x:%02x\n",
|
||||
mclist->dmi_addr[0], mclist->dmi_addr[1],
|
||||
mclist->dmi_addr[2], mclist->dmi_addr[3],
|
||||
mclist->dmi_addr[4], mclist->dmi_addr[5]);
|
||||
DP(NETIF_MSG_IFUP, "Adding mcast MAC: %pM\n",
|
||||
mclist->dmi_addr);
|
||||
|
||||
crc = crc32c_le(0, mclist->dmi_addr, ETH_ALEN);
|
||||
bit = (crc >> 24) & 0xff;
|
||||
|
Reference in New Issue
Block a user