summaryrefslogtreecommitdiffstats
path: root/crypto/async_tx
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-09-15 11:36:15 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-09-24 16:14:43 +0800
commit33837be33367172d66d1f2bd6964cc41448e6e7c (patch)
tree9d5710ddbe45dbc4a486fa34f61baec36073dc92 /crypto/async_tx
parent1b79573de717cfabe28221a98afaa6a3ff0e7458 (diff)
downloadlinux-stable-33837be33367172d66d1f2bd6964cc41448e6e7c.tar.gz
linux-stable-33837be33367172d66d1f2bd6964cc41448e6e7c.tar.bz2
linux-stable-33837be33367172d66d1f2bd6964cc41448e6e7c.zip
crypto: add __init/__exit annotations to init/exit funcs
Add missing __init/__exit annotations to init/exit funcs. Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/async_tx')
-rw-r--r--crypto/async_tx/raid6test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/async_tx/raid6test.c b/crypto/async_tx/raid6test.c
index c9d218e53bcb..9719c7520661 100644
--- a/crypto/async_tx/raid6test.c
+++ b/crypto/async_tx/raid6test.c
@@ -189,7 +189,7 @@ static int test(int disks, int *tests)
}
-static int raid6_test(void)
+static int __init raid6_test(void)
{
int err = 0;
int tests = 0;
@@ -236,7 +236,7 @@ static int raid6_test(void)
return 0;
}
-static void raid6_test_exit(void)
+static void __exit raid6_test_exit(void)
{
}