aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qla3xxx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-10-27 18:59:26 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-27 20:06:18 -0400
commite174961ca1a0b28f7abf0be47973ad57cb74e5f0 (patch)
treee8f74ecd420a0e380a71670e5aec5c2a0c15640a /drivers/net/qla3xxx.c
parent0c68ae2605dbcf67414d8d1f19af93be44b355fb (diff)
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>
Diffstat (limited to 'drivers/net/qla3xxx.c')
-rw-r--r--drivers/net/qla3xxx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c
index 3cdd07c45b6d..9589ca75a139 100644
--- a/drivers/net/qla3xxx.c
+++ b/drivers/net/qla3xxx.c
@@ -3529,7 +3529,6 @@ static void ql_display_dev_info(struct net_device *ndev)
3529{ 3529{
3530 struct ql3_adapter *qdev = (struct ql3_adapter *)netdev_priv(ndev); 3530 struct ql3_adapter *qdev = (struct ql3_adapter *)netdev_priv(ndev);
3531 struct pci_dev *pdev = qdev->pdev; 3531 struct pci_dev *pdev = qdev->pdev;
3532 DECLARE_MAC_BUF(mac);
3533 3532
3534 printk(KERN_INFO PFX 3533 printk(KERN_INFO PFX
3535 "\n%s Adapter %d RevisionID %d found %s on PCI slot %d.\n", 3534 "\n%s Adapter %d RevisionID %d found %s on PCI slot %d.\n",
@@ -3555,8 +3554,8 @@ static void ql_display_dev_info(struct net_device *ndev)
3555 3554
3556 if (netif_msg_probe(qdev)) 3555 if (netif_msg_probe(qdev))
3557 printk(KERN_INFO PFX 3556 printk(KERN_INFO PFX
3558 "%s: MAC address %s\n", 3557 "%s: MAC address %pM\n",
3559 ndev->name, print_mac(mac, ndev->dev_addr)); 3558 ndev->name, ndev->dev_addr);
3560} 3559}
3561 3560
3562static int ql_adapter_down(struct ql3_adapter *qdev, int do_reset) 3561static int ql_adapter_down(struct ql3_adapter *qdev, int do_reset)