Message ID | 20210808205233.21662-1-rdunlap@infradead.org |
---|---|
State | New |
Headers | show |
Series | crypto: wp512: correct a non-kernel-doc comment | expand |
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
--- 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. */
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(-)