projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae3306
)
m68k: zorro - Use %pR to print resources
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Tue, 30 Dec 2008 13:23:35 +0000
(14:23 +0100)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Mon, 12 Jan 2009 19:56:43 +0000
(20:56 +0100)
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/zorro/zorro.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/zorro/zorro.c
b/drivers/zorro/zorro.c
index 2dda20ac6b36c6c776ab4ccf77292f12b4b4155b..a1585d6f6486e8e7165a87f4ca6811a7ec57f10c 100644
(file)
--- 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;