Skip to contentSkip to conversation

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

PATCH In review Randy Dunlap 2 participants 2 messages Aug 8, 2021 – Aug 12, 2021 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: wp512: correct a non-kernel-doc comment

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.

---
 crypto/wp512.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/wp512.c +1 -1
@@ -775,7 +775,7 @@ static const u64 rc[WHIRLPOOL_ROUNDS] =
 	0xca2dbf07ad5a8333ULL,
 };
 
-/**
+/*
  * The core Whirlpool transform.
  */
 
maintainer
#1 lore raw
Quoted 5 lines · Randy Dunlap

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.

Quoted 7 lines
---
 crypto/wp512.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt