Commit 26029d88 authored by Minfei Huang's avatar Minfei Huang Committed by Jiri Kosina

livepatch: annotate klp_init() with __init

module_init() function should be marked __init.

[jkosina@suse.cz: remove overly verbose changelog]
Signed-off-by: default avatarMinfei Huang <mnfhuang@gmail.com>
Acked-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 8cdd043a
...@@ -990,7 +990,7 @@ static struct notifier_block klp_module_nb = { ...@@ -990,7 +990,7 @@ static struct notifier_block klp_module_nb = {
.priority = INT_MIN+1, /* called late but before ftrace notifier */ .priority = INT_MIN+1, /* called late but before ftrace notifier */
}; };
static int klp_init(void) static int __init klp_init(void)
{ {
int ret; int ret;
......
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