projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2069e97
)
[S390] vmlogrdr: module initialization function should return negative errors
author
Marcin Slusarz
<marcin.slusarz@gmail.com>
Thu, 15 May 2008 14:52:32 +0000
(16:52 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Thu, 15 May 2008 14:52:38 +0000
(16:52 +0200)
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/vmlogrdr.c
patch
|
blob
|
history
diff --git
a/drivers/s390/char/vmlogrdr.c
b/drivers/s390/char/vmlogrdr.c
index d364e0bfae12eb1ff999439aee0a94fa7c99087d..e8487347e4d4aa33eb7e844e815ad77028b50f16 100644
(file)
--- a/
drivers/s390/char/vmlogrdr.c
+++ b/
drivers/s390/char/vmlogrdr.c
@@
-858,7
+858,7
@@
static int __init vmlogrdr_init(void)
for (i=0; i < MAXMINOR; ++i ) {
sys_ser[i].buffer = (char *) get_zeroed_page(GFP_KERNEL);
if (!sys_ser[i].buffer) {
- rc = ENOMEM;
+ rc =
-
ENOMEM;
break;
}
sys_ser[i].current_position = sys_ser[i].buffer;