[PATCH] dm-inlinecrypt: document inlinecrypt_ctx.key_size

From: Linlin Zhang

Date: Mon May 11 2026 - 07:49:08 EST


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 <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202605071534.rxF5Bw5W-lkp@xxxxxxxxx/
Signed-off-by: Linlin Zhang <linlin.zhang@xxxxxxxxxxxxxxxx>
---
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