net: convert print_mac to %pM
This converts pretty much everything to print_mac. There were a few things that had conflicts which I have just dropped for now, no harm done. I've built an allyesconfig with this and looked at the files that weren't built very carefully, but it's a huge patch. 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
0c68ae2605
commit
e174961ca1
@@ -553,7 +553,6 @@ out:
|
||||
|
||||
void netpoll_print_options(struct netpoll *np)
|
||||
{
|
||||
DECLARE_MAC_BUF(mac);
|
||||
printk(KERN_INFO "%s: local port %d\n",
|
||||
np->name, np->local_port);
|
||||
printk(KERN_INFO "%s: local IP %d.%d.%d.%d\n",
|
||||
@@ -564,8 +563,8 @@ void netpoll_print_options(struct netpoll *np)
|
||||
np->name, np->remote_port);
|
||||
printk(KERN_INFO "%s: remote IP %d.%d.%d.%d\n",
|
||||
np->name, HIPQUAD(np->remote_ip));
|
||||
printk(KERN_INFO "%s: remote ethernet address %s\n",
|
||||
np->name, print_mac(mac, np->remote_mac));
|
||||
printk(KERN_INFO "%s: remote ethernet address %pM\n",
|
||||
np->name, np->remote_mac);
|
||||
}
|
||||
|
||||
int netpoll_parse_options(struct netpoll *np, char *opt)
|
||||
|
Reference in New Issue
Block a user