projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c33f5b
)
livepatch: fix uninitialized return value
author
Josh Poimboeuf
<jpoimboe@redhat.com>
Tue, 20 Jan 2015 22:07:55 +0000
(16:07 -0600)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 21 Jan 2015 14:22:48 +0000
(15:22 +0100)
Fix a potentially uninitialized return value in klp_enable_func().
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
kernel/livepatch/core.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/livepatch/core.c
b/kernel/livepatch/core.c
index bc05d390ce8537af485b3778e4d5f26f6df9f6fa..9adf86bfbcd5fbae7930194f699c97fc915ac67a 100644
(file)
--- a/
kernel/livepatch/core.c
+++ b/
kernel/livepatch/core.c
@@
-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);