Skip to contentSkip to conversation

dm-inlinecrypt: document inlinecrypt_ctx.key_size

PATCH New Linlin Zhang 1 participant 1 message May 11 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm-inlinecrypt: document inlinecrypt_ctx.key_size

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.

---
 drivers/md/dm-inlinecrypt.c | 1 +
 1 file changed, 1 insertion(+)
drivers/md/dm-inlinecrypt.c +1 -0
index 40d48ba73e23..bd8e58a028c5 100644
@@ -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)
Signature · 1 line
2.34.1