projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cdd043
)
livepatch: annotate klp_init() with __init
author
Minfei Huang
<mnfhuang@gmail.com>
Fri, 22 May 2015 14:26:29 +0000
(22:26 +0800)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 25 May 2015 15:16:45 +0000
(17:16 +0200)
module_init() function should be marked __init.
[jkosina@suse.cz: remove overly verbose changelog]
Signed-off-by: Minfei Huang <mnfhuang@gmail.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
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 c38398e20f64fe6f2bf83bdf003eabd78019a30e..a0acda468f1a9e9d38be8cc3d577a594b80ba2ae 100644
(file)
--- a/
kernel/livepatch/core.c
+++ b/
kernel/livepatch/core.c
@@
-990,7
+990,7
@@
static struct notifier_block klp_module_nb = {
.priority = INT_MIN+1, /* called late but before ftrace notifier */
};
-static int klp_init(void)
+static int
__init
klp_init(void)
{
int ret;