lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dee9b106-cb0a-32d6-2795-da46912332b9@amd.com>
Date:   Tue, 27 Sep 2022 11:11:55 -0500
From:   John Allen <john.allen@....com>
To:     ruanjinjie <ruanjinjie@...wei.com>, thomas.lendacky@....com,
        herbert@...dor.apana.org.au, davem@...emloft.net,
        linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] crypto: ccp: Add __init/__exit annotations to
 module init/exit funcs

On 9/26/22 4:27 AM, ruanjinjie wrote:
> Add missing __init/__exit annotations to module init/exit funcs
> 
> Signed-off-by: ruanjinjie <ruanjinjie@...wei.com>

Acked-by: John Allen <john.allen@....com>

> ---
>   drivers/crypto/ccp/ccp-crypto-main.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/crypto/ccp/ccp-crypto-main.c b/drivers/crypto/ccp/ccp-crypto-main.c
> index 5976530c00a8..332181027305 100644
> --- a/drivers/crypto/ccp/ccp-crypto-main.c
> +++ b/drivers/crypto/ccp/ccp-crypto-main.c
> @@ -400,7 +400,7 @@ static void ccp_unregister_algs(void)
>   	}
>   }
>   
> -static int ccp_crypto_init(void)
> +static int __init ccp_crypto_init(void)
>   {
>   	int ret;
>   
> @@ -421,7 +421,7 @@ static int ccp_crypto_init(void)
>   	return ret;
>   }
>   
> -static void ccp_crypto_exit(void)
> +static void __exit ccp_crypto_exit(void)
>   {
>   	ccp_unregister_algs();
>   }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ