blk-crypto: Fix the num_prealloc_fallback_crypt_ctxs parameter description
PATCH v2 1/1 blk-crypto: Fix the num_prealloc_fallback_crypt_ctxs parameter description
The parameter is num_prealloc_fallback_crypt_ctxs, but its MODULE_PARM_DESC() uses num_prealloc_crypt_fallback_ctxs.
BLK_INLINE_ENCRYPTION_FALLBACK is a bool, so this code is built in when enabled. Its parameter metadata is recorded in modules.builtin.modinfo, where the parm and parmtype entries currently refer to different names.
Use the actual parameter name in MODULE_PARM_DESC() so the description matches the type entry.
Fixes 488f6682c832 ("block: blk-crypto-fallback for Inline Encryption")
Assisted-by LLM
Signed-off-by Karl Mehltretter <[email protected]>
---
Changes in v2:
- Correct the changelog to describe built-in metadata in modules.builtin.modinfo. The patch itself is unchanged.
v1: https://lore.kernel.org/r/[email protected]/
block/blk-crypto-fallback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-crypto-fallback.c +1 -1
@@ -34,7 +34,7 @@ MODULE_PARM_DESC(num_keyslots,static unsigned int num_prealloc_fallback_crypt_ctxs =128 ;module_param (num_prealloc_fallback_crypt_ctxs, uint,0 ); -MODULE_PARM_DESC (num_prealloc_crypt_fallback_ctxs, +MODULE_PARM_DESC (num_prealloc_fallback_crypt_ctxs,"Number of preallocated bio fallback crypto contexts for blk-crypto to use during crypto API fallback" );struct bio_fallback_crypt_ctx {
base-commit: 986c24e0fe44f844b44d365b71ce831947f50298
Signature · 1 line
2.39.5 (Apple Git-154)