diff options
author | Aditya Srivastava <yashsri421@gmail.com> | 2021-03-21 17:39:12 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-03-26 20:15:58 +1100 |
commit | ce668da5f11e3aeed49843980b70529aa61f4275 (patch) | |
tree | 31633acf5b1fd71a1d3c1109b1816ce05512d0b4 /drivers/crypto/nx/nx-aes-xcbc.c | |
parent | 73f04d3d800f3c8058bb00447e3e1c4cdc85a2b0 (diff) | |
download | lwn-ce668da5f11e3aeed49843980b70529aa61f4275.tar.gz lwn-ce668da5f11e3aeed49843980b70529aa61f4275.zip |
crypto: ux500 - fix incorrect kernel-doc comment syntax
The opening comment mark '/**' is used for highlighting the beginning of
kernel-doc comments.
There are certain files in drivers/crypto/ux500, which follow this syntax,
but the content inside does not comply with kernel-doc.
Such lines were probably not meant for kernel-doc parsing, but are parsed
due to the presence of kernel-doc like comment syntax(i.e, '/**'), which
causes unexpected warnings from kernel-doc.
E.g., presence of kernel-doc like comment in the header lines for
drivers/crypto/ux500/cryp/cryp.h at header causes this warning:
"warning: expecting prototype for ST(). Prototype was for _CRYP_H_() instead"
Similarly for other files too.
Provide a simple fix by replacing such occurrences with general comment
format, i.e. '/*', to prevent kernel-doc from parsing it.
Signed-off-by: Aditya Srivastava <yashsri421@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/nx/nx-aes-xcbc.c')
0 files changed, 0 insertions, 0 deletions