mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
Staging: ft1000-pcmcia: print MAC via printk format specifier
Print MAC/dev_addr via printk extended format specifier %pM instead of custom code. Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
This commit is contained in:
parent
ff40a675bb
commit
3274ce71fe
@ -2211,11 +2211,8 @@ struct net_device *init_ft1000_card(struct pcmcia_device *link,
|
||||
ft1000InitProc(dev);
|
||||
ft1000_card_present = 1;
|
||||
SET_ETHTOOL_OPS(dev, &ops);
|
||||
printk(KERN_INFO
|
||||
"ft1000: %s: addr 0x%04lx irq %d, MAC addr %02x:%02x:%02x:%02x:%02x:%02x\n",
|
||||
dev->name, dev->base_addr, dev->irq, dev->dev_addr[0],
|
||||
dev->dev_addr[1], dev->dev_addr[2], dev->dev_addr[3],
|
||||
dev->dev_addr[4], dev->dev_addr[5]);
|
||||
printk(KERN_INFO "ft1000: %s: addr 0x%04lx irq %d, MAC addr %pM\n",
|
||||
dev->name, dev->base_addr, dev->irq, dev->dev_addr);
|
||||
return dev;
|
||||
|
||||
err_unreg:
|
||||
|
Loading…
Reference in New Issue
Block a user