[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <aT_RDASKMW4RI_Yf@archie.me>
Date: Mon, 15 Dec 2025 16:12:44 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Crypto <linux-crypto@...r.kernel.org>,
Linux Documentation <linux-doc@...r.kernel.org>
Cc: Randy Dunlap <rdunlap@...radead.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Jonathan Corbet <corbet@....net>
Subject: kernel-doc comment with anonymous variable in anonymous union?
Hi,
kernel-doc reports warning on include/crypto/skcipher.h:
WARNING: ./include/crypto/skcipher.h:166 struct member 'SKCIPHER_ALG_COMMON' not described in 'skcipher_alg'
skciper_alg struct is defined as:
struct skcipher_alg {
int (*setkey)(struct crypto_skcipher *tfm, const u8 *key,
unsigned int keylen);
int (*encrypt)(struct skcipher_request *req);
int (*decrypt)(struct skcipher_request *req);
int (*export)(struct skcipher_request *req, void *out);
int (*import)(struct skcipher_request *req, const void *in);
int (*init)(struct crypto_skcipher *tfm);
void (*exit)(struct crypto_skcipher *tfm);
unsigned int walksize;
union {
struct SKCIPHER_ALG_COMMON;
struct skcipher_alg_common co;
};
};
Note the first member in the union, which is an anonymous (i.e. unnamed) variable.
What can I do on it? Should the offending member be deleted?
Thanks.
--
An old man doll... just what I always wanted! - Clara
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists