git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.3
[linux-2.6.git]
/
arch
/
um
/
drivers
/
mmapper_kern.c
diff --git
a/arch/um/drivers/mmapper_kern.c
b/arch/um/drivers/mmapper_kern.c
index
628d8f8
..
1862691
100644
(file)
--- a/
arch/um/drivers/mmapper_kern.c
+++ b/
arch/um/drivers/mmapper_kern.c
@@
-120,7
+120,10
@@
static int __init mmapper_init(void)
printk(KERN_INFO "Mapper v0.1\n");
v_buf = (char *) find_iomem("mmapper", &mmapper_size);
- if(mmapper_size == 0) return(0);
+ if(mmapper_size == 0){
+ printk(KERN_ERR "mmapper_init - find_iomem failed\n");
+ return(0);
+ }
p_buf = __pa(v_buf);