OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d04c406
)
aoe: add __exit annotation
author
Chengguang Xu
<cgxu519@gmx.com>
Sun, 16 Dec 2018 06:08:18 +0000
(14:08 +0800)
committer
Jens Axboe
<axboe@kernel.dk>
Sun, 16 Dec 2018 16:01:38 +0000
(09:01 -0700)
Add __exit annotation to cleanup helper which
is only called once in the module.
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoemain.c
patch
|
blob
|
history
diff --git
a/drivers/block/aoe/aoemain.c
b/drivers/block/aoe/aoemain.c
index
2514820
..
1e4e297
100644
(file)
--- a/
drivers/block/aoe/aoemain.c
+++ b/
drivers/block/aoe/aoemain.c
@@
-24,7
+24,7
@@
static void discover_timer(struct timer_list *t)
aoecmd_cfg(0xffff, 0xff);
}
-static void
+static void
__exit
aoe_exit(void)
{
del_timer_sync(&timer);