From: Geert Uytterhoeven Date: Tue, 30 Dec 2008 13:23:35 +0000 (+0100) Subject: m68k: zorro - Use %pR to print resources X-Git-Tag: 2.1b_release~14389^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b01e3b07ec29e98464a4f580ae000291cf0d2f87;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git m68k: zorro - Use %pR to print resources Signed-off-by: Geert Uytterhoeven --- diff --git a/drivers/zorro/zorro.c b/drivers/zorro/zorro.c index 2dda20a..a1585d6 100644 --- a/drivers/zorro/zorro.c +++ b/drivers/zorro/zorro.c @@ -165,10 +165,8 @@ static int __init zorro_init(void) zorro_name_device(z); z->resource.name = z->name; if (request_resource(zorro_find_parent_resource(z), &z->resource)) - printk(KERN_ERR "Zorro: Address space collision on device %s " - "[%lx:%lx]\n", - z->name, (unsigned long)zorro_resource_start(z), - (unsigned long)zorro_resource_end(z)); + pr_err("Zorro: Address space collision on device %s %pR\n", + z->name, &z->resource); sprintf(z->dev.bus_id, "%02x", i); z->dev.parent = &zorro_bus.dev; z->dev.bus = &zorro_bus_type;