Skip to contentSkip to conversation

crypto:skcipher: fix kernel-doc warning for anonymous union member

PATCH New Abdellah Ouhbi 1 participant 1 message Mar 12 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto:skcipher: fix kernel-doc warning for anonymous union member

Fix htmldocs build warning ./include/crypto/skcipher.h:167 struct member 'SKCIPHER_ALG_COMMON' not described in 'skcipher_alg'

The struct skcipher_alg contains an anonymous union with a macro-defined member SKCIPHER_ALG_COMMON that was not documented.
Add documentation following the pattern used in other headers for similar anonymous members.

---
 include/crypto/skcipher.h | 1 +
 1 file changed, 1 insertion(+)
include/crypto/skcipher.h +1 -0
index 9e5853464345..4efe2ca8c4d1 100644
@@ -145,6 +145,7 @@ struct skcipher_alg_common SKCIPHER_ALG_COMMON;
  * 	      considerably more efficient if it can operate on multiple chunks
  * 	      in parallel. Should be a multiple of chunksize.
  * @co: see struct skcipher_alg_common
+ * @SKCIPHER_ALG_COMMON: see struct skcipher_alg_common
  *
  * All fields except @ivsize are mandatory and must be filled.
  */
Signature · 1 line
2.51.0