mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dm-inlinecrypt: document inlinecrypt_ctx.key_size
@ 2026-05-11 11:48 Linlin Zhang
  0 siblings, 0 replies; only message in thread
From: Linlin Zhang @ 2026-05-11 11:48 UTC (permalink / raw)
  To: Mikulas Patocka
  Cc: Alasdair Kergon, Mike Snitzer, Benjamin Marzinski, dm-devel,
	linux-kernel, kernel test robot

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-11 11:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-11 11:48 [PATCH] dm-inlinecrypt: document inlinecrypt_ctx.key_size Linlin Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®