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
@@ -390,11 +390,8 @@ static int nic_init(struct ioc3 *ioc3)
|
||||
}
|
||||
|
||||
printk("Found %s NIC", type);
|
||||
if (type != unknown) {
|
||||
printk (" registration number %02x:%02x:%02x:%02x:%02x:%02x,"
|
||||
" CRC %02x", serial[0], serial[1], serial[2],
|
||||
serial[3], serial[4], serial[5], crc);
|
||||
}
|
||||
if (type != unknown)
|
||||
printk (" registration number %pM, CRC %02x", serial, crc);
|
||||
printk(".\n");
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user