mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Allen <john.allen@amd.com>
To: ruanjinjie <ruanjinjie@huawei.com>,
	thomas.lendacky@amd.com, herbert@gondor.apana.org.au,
	davem@davemloft.net, linux-crypto@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] crypto: ccp: Add __init/__exit annotations to module init/exit funcs
Date: Tue, 27 Sep 2022 11:11:55 -0500	[thread overview]
Message-ID: <dee9b106-cb0a-32d6-2795-da46912332b9@amd.com> (raw)
In-Reply-To: <20220926092711.1192679-1-ruanjinjie@huawei.com>

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

Acked-by: John Allen <john.allen@amd.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();
>   }


  reply	other threads:[~2022-09-27 16:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-26  9:27 ruanjinjie
2022-09-27 16:11 ` John Allen [this message]
2022-10-21 11:33 ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dee9b106-cb0a-32d6-2795-da46912332b9@amd.com \
    --to=john.allen@amd.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ruanjinjie@huawei.com \
    --cc=thomas.lendacky@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®