mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
mm/secretmem: fix the enable parameter description
The module parameter is enable, but its MODULE_PARM_DESC() names the
variable behind it, secretmem_enable. secretmem is built in, so the
description only reaches modules.builtin.modinfo, where it is filed under
secretmem_enable while the parmtype line and
/sys/module/secretmem/parameters/ say enable.
Use the parameter name in the description.
Link: https://lore.kernel.org/20260912114859.88957-1-kmehltretter@gmail.com
Fixes: 1507f51255 ("mm: introduce memfd_secret system call to create "secret" memory areas")
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Assisted-by: LLM
This commit is contained in:
parent
3b23842264
commit
43f046860e
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
static bool secretmem_enable __ro_after_init = 1;
|
||||
module_param_named(enable, secretmem_enable, bool, 0400);
|
||||
MODULE_PARM_DESC(secretmem_enable,
|
||||
MODULE_PARM_DESC(enable,
|
||||
"Enable secretmem and memfd_secret(2) system call");
|
||||
|
||||
static atomic_t secretmem_users;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user