net: fix hydra printk format warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 4 Sep 2009 14:20:37 +0000 (14:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Sep 2009 08:56:52 +0000 (01:56 -0700)
m68k:
drivers/net/hydra.c:178: warning: format '%08lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hydra.c

index 8ac0930c183cac23809b96d37964ba4fef2e0000..d496b6f4a478d127f193c07212ca6ac2633a3725 100644 (file)
@@ -173,9 +173,9 @@ static int __devinit hydra_init(struct zorro_dev *z)
 
     zorro_set_drvdata(z, dev);
 
-    printk(KERN_INFO "%s: Hydra at 0x%08lx, address "
+    printk(KERN_INFO "%s: Hydra at 0x%08llx, address "
           "%pM (hydra.c " HYDRA_VERSION ")\n",
-          dev->name, z->resource.start, dev->dev_addr);
+          dev->name, (unsigned long long)z->resource.start, dev->dev_addr);
 
     return 0;
 }