diff mbox series

crypto: wp512: correct a non-kernel-doc comment

Message ID 20210808205233.21662-1-rdunlap@infradead.org
State New
Headers show
Series crypto: wp512: correct a non-kernel-doc comment | expand

Commit Message

Randy Dunlap Aug. 8, 2021, 8:52 p.m. UTC
Don't use "/**" to begin a comment that is not kernel-doc notation.

crypto/wp512.c:779: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * The core Whirlpool transform.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-crypto@vger.kernel.org
---
 crypto/wp512.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Herbert Xu Aug. 12, 2021, 11:36 a.m. UTC | #1
On Sun, Aug 08, 2021 at 01:52:33PM -0700, Randy Dunlap wrote:
> Don't use "/**" to begin a comment that is not kernel-doc notation.

> 

> crypto/wp512.c:779: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

>  * The core Whirlpool transform.

> 

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

> Cc: Herbert Xu <herbert@gondor.apana.org.au>

> Cc: "David S. Miller" <davem@davemloft.net>

> Cc: linux-crypto@vger.kernel.org

> ---

>  crypto/wp512.c |    2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)


Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
diff mbox series

Patch

--- linux-next-20210806.orig/crypto/wp512.c
+++ linux-next-20210806/crypto/wp512.c
@@ -775,7 +775,7 @@  static const u64 rc[WHIRLPOOL_ROUNDS] =
 	0xca2dbf07ad5a8333ULL,
 };
 
-/**
+/*
  * The core Whirlpool transform.
  */