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
@@ -860,10 +860,9 @@ static int wl3501_esbq_confirm(struct wl3501_card *this)
|
||||
static void wl3501_online(struct net_device *dev)
|
||||
{
|
||||
struct wl3501_card *this = netdev_priv(dev);
|
||||
DECLARE_MAC_BUF(mac);
|
||||
|
||||
printk(KERN_INFO "%s: Wireless LAN online. BSSID: %s\n",
|
||||
dev->name, print_mac(mac, this->bssid));
|
||||
printk(KERN_INFO "%s: Wireless LAN online. BSSID: %pM\n",
|
||||
dev->name, this->bssid);
|
||||
netif_wake_queue(dev);
|
||||
}
|
||||
|
||||
@@ -1965,7 +1964,6 @@ static int wl3501_config(struct pcmcia_device *link)
|
||||
struct net_device *dev = link->priv;
|
||||
int i = 0, j, last_fn, last_ret;
|
||||
struct wl3501_card *this;
|
||||
DECLARE_MAC_BUF(mac);
|
||||
|
||||
/* Try allocating IO ports. This tries a few fixed addresses. If you
|
||||
* want, you can also read the card's config table to pick addresses --
|
||||
@@ -2024,9 +2022,9 @@ static int wl3501_config(struct pcmcia_device *link)
|
||||
|
||||
/* print probe information */
|
||||
printk(KERN_INFO "%s: wl3501 @ 0x%3.3x, IRQ %d, "
|
||||
"MAC addr in flash ROM:%s\n",
|
||||
"MAC addr in flash ROM:%pM\n",
|
||||
dev->name, this->base_addr, (int)dev->irq,
|
||||
print_mac(mac, dev->dev_addr));
|
||||
dev->dev_addr);
|
||||
/*
|
||||
* Initialize card parameters - added by jss
|
||||
*/
|
||||
|
Reference in New Issue
Block a user