linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: atmel-ecc - fix W=1 "cannot understand" warning
@ 2021-03-20  8:15 Meng Yu
  2021-03-20 16:17 ` Randy Dunlap
  2021-03-22  9:11 ` Tudor.Ambarus
  0 siblings, 2 replies; 3+ messages in thread
From: Meng Yu @ 2021-03-20  8:15 UTC (permalink / raw)
  To: herbert, davem; +Cc: linux-crypto, xuzaibo, wangzhou1, yumeng18, linux-kernel

Fix kernel-doc warnings due to missing "struct" keyword.

The warning likes:
drivers/crypto/atmel-ecc.c:40: warning: cannot understand function prototype: 'struct atmel_ecdh_ctx '

Signed-off-by: Meng Yu <yumeng18@huawei.com>
---
 drivers/crypto/atmel-ecc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/atmel-ecc.c b/drivers/crypto/atmel-ecc.c
index 515946c..333fbef 100644
--- a/drivers/crypto/atmel-ecc.c
+++ b/drivers/crypto/atmel-ecc.c
@@ -26,7 +26,7 @@
 static struct atmel_ecc_driver_data driver_data;
 
 /**
- * atmel_ecdh_ctx - transformation context
+ * struct atmel_ecdh_ctx - transformation context
  * @client     : pointer to i2c client device
  * @fallback   : used for unsupported curves or when user wants to use its own
  *               private key.
-- 
2.8.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] crypto: atmel-ecc - fix W=1 "cannot understand" warning
  2021-03-20  8:15 [PATCH] crypto: atmel-ecc - fix W=1 "cannot understand" warning Meng Yu
@ 2021-03-20 16:17 ` Randy Dunlap
  2021-03-22  9:11 ` Tudor.Ambarus
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-03-20 16:17 UTC (permalink / raw)
  To: Meng Yu; +Cc: herbert, davem, linux-crypto, xuzaibo, wangzhou1, linux-kernel



On Sat, 20 Mar 2021, Meng Yu wrote:

> Fix kernel-doc warnings due to missing "struct" keyword.
>
> The warning likes:
> drivers/crypto/atmel-ecc.c:40: warning: cannot understand function prototype: 'struct atmel_ecdh_ctx '
>
> Signed-off-by: Meng Yu <yumeng18@huawei.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
> drivers/crypto/atmel-ecc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/crypto/atmel-ecc.c b/drivers/crypto/atmel-ecc.c
> index 515946c..333fbef 100644
> --- a/drivers/crypto/atmel-ecc.c
> +++ b/drivers/crypto/atmel-ecc.c
> @@ -26,7 +26,7 @@
> static struct atmel_ecc_driver_data driver_data;
>
> /**
> - * atmel_ecdh_ctx - transformation context
> + * struct atmel_ecdh_ctx - transformation context
>  * @client     : pointer to i2c client device
>  * @fallback   : used for unsupported curves or when user wants to use its own
>  *               private key.
> -- 
> 2.8.1
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] crypto: atmel-ecc - fix W=1 "cannot understand" warning
  2021-03-20  8:15 [PATCH] crypto: atmel-ecc - fix W=1 "cannot understand" warning Meng Yu
  2021-03-20 16:17 ` Randy Dunlap
@ 2021-03-22  9:11 ` Tudor.Ambarus
  1 sibling, 0 replies; 3+ messages in thread
From: Tudor.Ambarus @ 2021-03-22  9:11 UTC (permalink / raw)
  To: yumeng18, herbert, davem; +Cc: linux-crypto, xuzaibo, wangzhou1, linux-kernel

On 3/20/21 10:15 AM, Meng Yu wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Fix kernel-doc warnings due to missing "struct" keyword.
> 
> The warning likes:
> drivers/crypto/atmel-ecc.c:40: warning: cannot understand function prototype: 'struct atmel_ecdh_ctx '
> 
> Signed-off-by: Meng Yu <yumeng18@huawei.com>

Thanks. There is a patch similar to yours that was sent in advance:
https://patchwork.kernel.org/project/linux-crypto/patch/20210318124422.3200180-7-lee.jones@linaro.org/

> ---
>  drivers/crypto/atmel-ecc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/crypto/atmel-ecc.c b/drivers/crypto/atmel-ecc.c
> index 515946c..333fbef 100644
> --- a/drivers/crypto/atmel-ecc.c
> +++ b/drivers/crypto/atmel-ecc.c
> @@ -26,7 +26,7 @@
>  static struct atmel_ecc_driver_data driver_data;
> 
>  /**
> - * atmel_ecdh_ctx - transformation context
> + * struct atmel_ecdh_ctx - transformation context
>   * @client     : pointer to i2c client device
>   * @fallback   : used for unsupported curves or when user wants to use its own
>   *               private key.
> --
> 2.8.1
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-22  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-20  8:15 [PATCH] crypto: atmel-ecc - fix W=1 "cannot understand" warning Meng Yu
2021-03-20 16:17 ` Randy Dunlap
2021-03-22  9:11 ` Tudor.Ambarus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).