Commit c274f29120eff7852bb2370ae6f05f46de75edbc

Authored by Geert Uytterhoeven
Committed by David S. Miller
1 parent 3d5b99ae82

net/m68k: Hydra Ethernet - print whole resource instead of start address

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>

Showing 1 changed file with 2 additions and 3 deletions Side-by-side Diff

... ... @@ -173,9 +173,8 @@
173 173  
174 174 zorro_set_drvdata(z, dev);
175 175  
176   - printk(KERN_INFO "%s: Hydra at 0x%08llx, address "
177   - "%pM (hydra.c " HYDRA_VERSION ")\n",
178   - dev->name, (unsigned long long)z->resource.start, dev->dev_addr);
  176 + pr_info("%s: Hydra at %pR, address %pM (hydra.c " HYDRA_VERSION ")\n",
  177 + dev->name, &z->resource, dev->dev_addr);
179 178  
180 179 return 0;
181 180 }