提交 26029d88 编写于 作者: M Minfei Huang 提交者: 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: NMinfei Huang <mnfhuang@gmail.com>
Acked-by: NJosh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 8cdd043a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册