mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 08:38:24 +08:00
dlm: section mismatch warning fix
Removed the section mismatch message: WARNING: fs/dlm/dlm.o(.init.text+0x132): Section mismatch in reference from the function init_module() to the function .exit.text:dlm_netlink_exit() Since dlm_netlink_exit() is called in the init_dlm() error handling, the __exit annotation has been removed. Signed-off-by: Leonardo Potenza <lpotenza@inwind.it> Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
parent
7a936ce71e
commit
88ad23195e
@ -95,7 +95,7 @@ int __init dlm_netlink_init(void)
|
||||
return rv;
|
||||
}
|
||||
|
||||
void __exit dlm_netlink_exit(void)
|
||||
void dlm_netlink_exit(void)
|
||||
{
|
||||
genl_unregister_ops(&family, &dlm_nl_ops);
|
||||
genl_unregister_family(&family);
|
||||
|
Loading…
Reference in New Issue
Block a user