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/ioc3-eth.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/ioc3-eth.c')
-rw-r--r-- | drivers/net/ioc3-eth.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ioc3-eth.c index 9803af1f0f58..afac65e46773 100644 --- a/drivers/net/ioc3-eth.c +++ b/drivers/net/ioc3-eth.c | |||
@@ -390,11 +390,8 @@ static int nic_init(struct ioc3 *ioc3) | |||
390 | } | 390 | } |
391 | 391 | ||
392 | printk("Found %s NIC", type); | 392 | printk("Found %s NIC", type); |
393 | if (type != unknown) { | 393 | if (type != unknown) |
394 | printk (" registration number %02x:%02x:%02x:%02x:%02x:%02x," | 394 | printk (" registration number %pM, CRC %02x", serial, crc); |
395 | " CRC %02x", serial[0], serial[1], serial[2], | ||
396 | serial[3], serial[4], serial[5], crc); | ||
397 | } | ||
398 | printk(".\n"); | 395 | printk(".\n"); |
399 | 396 | ||
400 | return 0; | 397 | return 0; |