Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: add missing kernel-doc for anonymous union members

Document the anonymous SKCIPHER_ALG_COMMON and COMP_ALG_COMMON struct
members in skcipher_alg, scomp_alg, and acomp_alg, following the
existing pattern used by HASH_ALG_COMMON in shash_alg.

This fixes the following kernel-doc warnings:

include/crypto/skcipher.h:166: struct member 'SKCIPHER_ALG_COMMON' not described in 'skcipher_alg'
include/crypto/internal/scompress.h:39: struct member 'COMP_ALG_COMMON' not described in 'scomp_alg'
include/crypto/internal/acompress.h:55: struct member 'COMP_ALG_COMMON' not described in 'acomp_alg'

Signed-off-by: Kit Dallege <xaum.io@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Kit Dallege and committed by
Herbert Xu
f9bbd547 7c622c4f

+3
+1
include/crypto/internal/acompress.h
··· 42 42 * 43 43 * @base: Common crypto API algorithm data structure 44 44 * @calg: Cmonn algorithm data structure shared with scomp 45 + * @COMP_ALG_COMMON: see struct comp_alg_common 45 46 */ 46 47 struct acomp_alg { 47 48 int (*compress)(struct acomp_req *req);
+1
include/crypto/internal/scompress.h
··· 22 22 * @decompress: Function performs a de-compress operation 23 23 * @streams: Per-cpu memory for algorithm 24 24 * @calg: Cmonn algorithm data structure shared with acomp 25 + * @COMP_ALG_COMMON: see struct comp_alg_common 25 26 */ 26 27 struct scomp_alg { 27 28 int (*compress)(struct crypto_scomp *tfm, const u8 *src,
+1
include/crypto/skcipher.h
··· 145 145 * considerably more efficient if it can operate on multiple chunks 146 146 * in parallel. Should be a multiple of chunksize. 147 147 * @co: see struct skcipher_alg_common 148 + * @SKCIPHER_ALG_COMMON: see struct skcipher_alg_common 148 149 * 149 150 * All fields except @ivsize are mandatory and must be filled. 150 151 */