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
@@ -404,7 +404,6 @@ static int __devinit sis900_probe(struct pci_dev *pci_dev,
|
||||
int i, ret;
|
||||
const char *card_name = card_names[pci_id->driver_data];
|
||||
const char *dev_name = pci_name(pci_dev);
|
||||
DECLARE_MAC_BUF(mac);
|
||||
|
||||
/* when built into the kernel, we only print version if device is found */
|
||||
#ifndef MODULE
|
||||
@@ -534,9 +533,9 @@ static int __devinit sis900_probe(struct pci_dev *pci_dev,
|
||||
goto err_unmap_rx;
|
||||
|
||||
/* print some information about our NIC */
|
||||
printk(KERN_INFO "%s: %s at %#lx, IRQ %d, %s\n",
|
||||
printk(KERN_INFO "%s: %s at %#lx, IRQ %d, %pM\n",
|
||||
net_dev->name, card_name, ioaddr, net_dev->irq,
|
||||
print_mac(mac, net_dev->dev_addr));
|
||||
net_dev->dev_addr);
|
||||
|
||||
/* Detect Wake on Lan support */
|
||||
ret = (inl(net_dev->base_addr + CFGPMC) & PMESP) >> 27;
|
||||
|
Reference in New Issue
Block a user