diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-27 20:47:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-27 20:47:26 -0400 |
commit | 7c510e4b730a92cecf94ada45c989d8be0200d47 (patch) | |
tree | 61f1926964c580946367588602a8eb039561f077 /drivers/net/bnx2x_main.c | |
parent | e174961ca1a0b28f7abf0be47973ad57cb74e5f0 (diff) |
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>
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r-- | drivers/net/bnx2x_main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index b55257f31c71..9cfc941aab0a 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -9851,11 +9851,8 @@ static void bnx2x_set_rx_mode(struct net_device *dev) | |||
9851 | mclist && (i < dev->mc_count); | 9851 | mclist && (i < dev->mc_count); |
9852 | i++, mclist = mclist->next) { | 9852 | i++, mclist = mclist->next) { |
9853 | 9853 | ||
9854 | DP(NETIF_MSG_IFUP, "Adding mcast MAC: " | 9854 | DP(NETIF_MSG_IFUP, "Adding mcast MAC: %pM\n", |
9855 | "%02x:%02x:%02x:%02x:%02x:%02x\n", | 9855 | mclist->dmi_addr); |
9856 | mclist->dmi_addr[0], mclist->dmi_addr[1], | ||
9857 | mclist->dmi_addr[2], mclist->dmi_addr[3], | ||
9858 | mclist->dmi_addr[4], mclist->dmi_addr[5]); | ||
9859 | 9856 | ||
9860 | crc = crc32c_le(0, mclist->dmi_addr, ETH_ALEN); | 9857 | crc = crc32c_le(0, mclist->dmi_addr, ETH_ALEN); |
9861 | bit = (crc >> 24) & 0xff; | 9858 | bit = (crc >> 24) & 0xff; |