Commit dbed7dda authored by Josh Poimboeuf's avatar Josh Poimboeuf Committed by Jiri Kosina

livepatch: fix uninitialized return value

Fix a potentially uninitialized return value in klp_enable_func().
Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: default avatarMiroslav Benes <mbenes@suse.cz>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 3c33f5b9
......@@ -410,7 +410,7 @@ static int klp_enable_func(struct klp_func *func)
func->state = KLP_ENABLED;
return ret;
return 0;
err:
list_del_rcu(&func->stack_node);
......
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