diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2022-09-15 06:36:15 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-09-24 11:14:43 +0300 |
commit | 33837be33367172d66d1f2bd6964cc41448e6e7c (patch) | |
tree | 9d5710ddbe45dbc4a486fa34f61baec36073dc92 /crypto/curve25519-generic.c | |
parent | 1b79573de717cfabe28221a98afaa6a3ff0e7458 (diff) | |
download | linux-33837be33367172d66d1f2bd6964cc41448e6e7c.tar.xz |
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/curve25519-generic.c')
-rw-r--r-- | crypto/curve25519-generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/curve25519-generic.c b/crypto/curve25519-generic.c index bd88fd571393..d055b0784c77 100644 --- a/crypto/curve25519-generic.c +++ b/crypto/curve25519-generic.c @@ -72,12 +72,12 @@ static struct kpp_alg curve25519_alg = { .max_size = curve25519_max_size, }; -static int curve25519_init(void) +static int __init curve25519_init(void) { return crypto_register_kpp(&curve25519_alg); } -static void curve25519_exit(void) +static void __exit curve25519_exit(void) { crypto_unregister_kpp(&curve25519_alg); } |