mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
@@ -200,7 +200,7 @@ static struct kpp_alg ecdh_nist_p384 = {
|
||||
|
||||
static bool ecdh_nist_p192_registered;
|
||||
|
||||
static int ecdh_init(void)
|
||||
static int __init ecdh_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@@ -227,7 +227,7 @@ nist_p256_error:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void ecdh_exit(void)
|
||||
static void __exit ecdh_exit(void)
|
||||
{
|
||||
if (ecdh_nist_p192_registered)
|
||||
crypto_unregister_kpp(&ecdh_nist_p192);
|
||||
|
Reference in New Issue
Block a user