Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c274f291 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by David S. Miller
Browse files

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3d5b99ae
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -173,9 +173,8 @@ static int __devinit hydra_init(struct zorro_dev *z)


    zorro_set_drvdata(z, dev);
    zorro_set_drvdata(z, dev);


    printk(KERN_INFO "%s: Hydra at 0x%08llx, address "
    pr_info("%s: Hydra at %pR, address %pM (hydra.c " HYDRA_VERSION ")\n",
	   "%pM (hydra.c " HYDRA_VERSION ")\n",
	    dev->name, &z->resource, dev->dev_addr);
	   dev->name, (unsigned long long)z->resource.start, dev->dev_addr);


    return 0;
    return 0;
}
}