mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 05:00:55 +07: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