mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 16:44:10 +08:00
livepatch: annotate klp_init() with __init
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>
This commit is contained in:
parent
8cdd043ab3
commit
26029d88ad
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user