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:
Karl Mehltretter 2026-09-12 13:48:59 +02:00 committed by Andrew Morton
parent 3b23842264
commit 43f046860e

View File

@ -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;