Commit 3cb2cea1 authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Martin Schwidefsky

[S390] vmlogrdr: module initialization function should return negative errors

Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 2069e978
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment