net/m68k: Hydra Ethernet - print whole resource instead of start address
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 29 Aug 2010 21:43:46 +0000 (21:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Aug 2010 20:50:45 +0000 (13:50 -0700)
resource_size_t changed from `unsigned long' to `phys_addr_t`, which is either
`u32' or `u64'.
Print the whole resource to remove the cast and to make it future-proof.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hydra.c

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