lasi_82596: fix printk format warning
drivers/net/lasi_82596.c:164: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' drivers/net/lasi_82596.c:169: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t' Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ae8d7f884a
commit
78a658d972
@ -161,12 +161,12 @@ lan_init_chip(struct parisc_device *dev)
|
|||||||
|
|
||||||
if (!dev->irq) {
|
if (!dev->irq) {
|
||||||
printk(KERN_ERR "%s: IRQ not found for i82596 at 0x%lx\n",
|
printk(KERN_ERR "%s: IRQ not found for i82596 at 0x%lx\n",
|
||||||
__FILE__, dev->hpa.start);
|
__FILE__, (unsigned long)dev->hpa.start);
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
printk(KERN_INFO "Found i82596 at 0x%lx, IRQ %d\n", dev->hpa.start,
|
printk(KERN_INFO "Found i82596 at 0x%lx, IRQ %d\n",
|
||||||
dev->irq);
|
(unsigned long)dev->hpa.start, dev->irq);
|
||||||
|
|
||||||
netdevice = alloc_etherdev(sizeof(struct i596_private));
|
netdevice = alloc_etherdev(sizeof(struct i596_private));
|
||||||
if (!netdevice)
|
if (!netdevice)
|
||||||
|
Reference in New Issue
Block a user