Skip to content

Commit b22462c

Browse files
guilhermepiccolikees
authored andcommitted
pstore/ramoops: Fix ECC parameter help text
In order to set ECC on ramoops, the parameter "ecc" should be used. The variable that carries this information is "ramoops_ecc". Due to some confusion in the parameter setting functions, modinfo ends-up showing both "ecc" and "ramoops_ecc" as valid parameters, but only "ecc" is the valid one, hence this fix to the parameter help text. Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com> Link: https://patch.msgid.link/20260218193940.912143-3-gpiccoli@igalia.com Signed-off-by: Kees Cook <kees@kernel.org>
1 parent 80632e3 commit b22462c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/pstore/ram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ MODULE_PARM_DESC(max_reason,
7171

7272
static int ramoops_ecc;
7373
module_param_named(ecc, ramoops_ecc, int, 0400);
74-
MODULE_PARM_DESC(ramoops_ecc,
74+
MODULE_PARM_DESC(ecc,
7575
"if non-zero, the option enables ECC support and specifies "
7676
"ECC buffer size in bytes (1 is a special value, means 16 "
7777
"bytes ECC)");

0 commit comments

Comments
 (0)