From 318175766e7688ba52cdf771d37e98a1e4759f98 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Tue, 1 May 2007 22:33:04 +0200 Subject: Amiga Zorro bus: kill resource_size_t warnings Kill resource_size_t warnings by casting resource_size_t to unsigned long when formatting Zorro bus resources, as they are always 32-bit. Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- drivers/zorro/zorro.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/zorro/zorro.c') diff --git a/drivers/zorro/zorro.c b/drivers/zorro/zorro.c index 0f2b40605b0..4cc42b64820 100644 --- a/drivers/zorro/zorro.c +++ b/drivers/zorro/zorro.c @@ -164,7 +164,8 @@ static int __init zorro_init(void) 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, zorro_resource_start(z), zorro_resource_end(z)); + z->name, (unsigned long)zorro_resource_start(z), + (unsigned long)zorro_resource_end(z)); sprintf(z->dev.bus_id, "%02x", i); z->dev.parent = &zorro_bus.dev; z->dev.bus = &zorro_bus_type; -- cgit v1.2.3