aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/lasi_82596.c
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-05-04 21:03:32 -0400
committerDavid S. Miller <davem@davemloft.net>2009-05-05 15:29:47 -0400
commit78a658d9720ce1b3dd71af3ee6d207ca751a48f5 (patch)
treec7c41f10d5dca815482947878a104c80f72c1af7 /drivers/net/lasi_82596.c
parentae8d7f884a24ee920e417077b2615c6862be687f (diff)
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>
Diffstat (limited to 'drivers/net/lasi_82596.c')
-rw-r--r--drivers/net/lasi_82596.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/lasi_82596.c b/drivers/net/lasi_82596.c
index efbae4b8398e..a0c578585a50 100644
--- a/drivers/net/lasi_82596.c
+++ b/drivers/net/lasi_82596.c
@@ -161,12 +161,12 @@ lan_init_chip(struct parisc_device *dev)
161 161
162 if (!dev->irq) { 162 if (!dev->irq) {
163 printk(KERN_ERR "%s: IRQ not found for i82596 at 0x%lx\n", 163 printk(KERN_ERR "%s: IRQ not found for i82596 at 0x%lx\n",
164 __FILE__, dev->hpa.start); 164 __FILE__, (unsigned long)dev->hpa.start);
165 return -ENODEV; 165 return -ENODEV;
166 } 166 }
167 167
168 printk(KERN_INFO "Found i82596 at 0x%lx, IRQ %d\n", dev->hpa.start, 168 printk(KERN_INFO "Found i82596 at 0x%lx, IRQ %d\n",
169 dev->irq); 169 (unsigned long)dev->hpa.start, dev->irq);
170 170
171 netdevice = alloc_etherdev(sizeof(struct i596_private)); 171 netdevice = alloc_etherdev(sizeof(struct i596_private));
172 if (!netdevice) 172 if (!netdevice)