Skip to content
Snippets Groups Projects
Commit 3cb2cea1 authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Martin Schwidefsky
Browse files

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

parent 2069e978
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment