projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
296ab4a
)
net/9p: add __init/__exit annotations to module init/exit funcs
author
Xiu Jianfeng
<xiujianfeng@huawei.com>
Fri, 9 Sep 2022 10:35:46 +0000
(18:35 +0800)
committer
Dominique Martinet
<asmadeus@codewreck.org>
Fri, 7 Oct 2022 12:23:09 +0000
(21:23 +0900)
xen transport was missing annotations
Link:
https://lkml.kernel.org/r/20220909103546.73015-1-xiujianfeng@huawei.com
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
net/9p/trans_xen.c
patch
|
blob
|
history
diff --git
a/net/9p/trans_xen.c
b/net/9p/trans_xen.c
index
41c57d4
..
b15c641
100644
(file)
--- a/
net/9p/trans_xen.c
+++ b/
net/9p/trans_xen.c
@@
-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);