Skip to content

Commit

Permalink
livepatch: annotate klp_init() with __init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Minfei Huang authored and Jiri Kosina committed May 25, 2015
1 parent 8cdd043 commit 26029d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/livepatch/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 26029d8

Please sign in to comment.