Commit 0664c63a authored by Xiu Jianfeng's avatar Xiu Jianfeng Committed by Dominique Martinet

net/9p: add __init/__exit annotations to module init/exit funcs

xen transport was missing annotations

Link: https://lkml.kernel.org/r/20220909103546.73015-1-xiujianfeng@huawei.comSigned-off-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: default avatarDominique Martinet <asmadeus@codewreck.org>
parent 296ab4a8
......@@ -511,7 +511,7 @@ static struct xenbus_driver xen_9pfs_front_driver = {
.otherend_changed = xen_9pfs_front_changed,
};
static int p9_trans_xen_init(void)
static int __init p9_trans_xen_init(void)
{
int rc;
......@@ -530,7 +530,7 @@ static int p9_trans_xen_init(void)
module_init(p9_trans_xen_init);
MODULE_ALIAS_9P("xen");
static void p9_trans_xen_exit(void)
static void __exit p9_trans_xen_exit(void)
{
v9fs_unregister_trans(&p9_xen_trans);
return xenbus_unregister_driver(&xen_9pfs_front_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment