[PATCH] Documentation/ipv6: Fix missing MODULE_PARAM_PREFIX in ipv6 parameters

From: Guo Weikang
Date: Thu Nov 28 2024 - 01:18:07 EST


The documentation for some IPv6 kernel parameters (in
Documentation/admin-guide/kernel-parameters.txt) was missing the
MODULE_PARAM_PREFIX. This could cause confusion during boot,
as parameters like "disable_ipv6" would trigger warnings such as:

[ 0.000000] Unknown kernel command line parameters
"disable_ipv6=0", will be passed to user space.

This commit updates the documentation to include correct
MODULE_PARAM_PREFIX

Signed-off-by: Guo Weikang <guoweikang.kernel@xxxxxxxxx>
---
.../admin-guide/kernel-parameters.txt | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index dc663c0ca670..534db0ace5dd 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -424,9 +424,6 @@
useful so that a dump capture kernel won't be
shot down by NMI

- autoconf= [IPV6]
- See Documentation/networking/ipv6.rst.
-
apm= [APM] Advanced Power Management
See header of arch/x86/kernel/apm_32.c.

@@ -1140,9 +1137,6 @@
can be useful when debugging issues that require an SLB
miss to occur.

- disable= [IPV6]
- See Documentation/networking/ipv6.rst.
-
disable_radix [PPC,EARLY]
Disable RADIX MMU mode on POWER9

@@ -1154,9 +1148,6 @@
Disable Dynamic DMA Window support. Use this
to workaround buggy firmware.

- disable_ipv6= [IPV6]
- See Documentation/networking/ipv6.rst.
-
disable_mtrr_cleanup [X86,EARLY]
The kernel tries to adjust MTRR layout from continuous
to discrete, to make X server driver able to add WB
@@ -2387,6 +2378,15 @@
an audit event when a binary is allowed. The default
is 0.

+ ipv6.autoconf= [IPV6]
+ See Documentation/networking/ipv6.rst.
+
+ ipv6.disable= [IPV6]
+ See Documentation/networking/ipv6.rst.
+
+ ipv6.disable_ipv6= [IPV6]
+ See Documentation/networking/ipv6.rst.
+
irqaffinity= [SMP] Set the default irq affinity mask
The argument is a cpu list, as described above.

--
2.25.1