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:
Родитель
8cdd043ab3
Коммит
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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче