[PATCH] dm-inlinecrypt: document inlinecrypt_ctx.key_size

Linlin Zhang <[email protected]>
Newsgroups dev.linux.lists.dm-devel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Add a missing kernel-doc description for the key_size member
of struct inlinecrypt_ctx to fix a W=1 documentation warning
reported by the kernel test robot.

Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Linlin Zhang <[email protected]>
---
 drivers/md/dm-inlinecrypt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/md/dm-inlinecrypt.c b/drivers/md/dm-inlinecrypt.c
index 40d48ba73e23..bd8e58a028c5 100644
--- a/drivers/md/dm-inlinecrypt.c
+++ b/drivers/md/dm-inlinecrypt.c
@@ -28,6 +28,7 @@ static const struct dm_inlinecrypt_cipher {
  * @start: starting sector of the range of @dev which this target actually maps.
  *	   For this purpose a "sector" is 512 bytes.
  * @cipher_string: the name of the encryption algorithm being used
+ * @key_size: size of the encryption key in bytes
  * @iv_offset: starting offset for IVs.  IVs are generated as if the target were
  *	       preceded by @iv_offset 512-byte sectors.
  * @sector_size: crypto sector size in bytes (usually 4096)
-- 
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.