Documentation: kgdb: Correct parameter error
authorChanghuang Liang <changhuang.liang@starfivetech.com>
Wed, 25 Sep 2024 10:07:42 +0000 (03:07 -0700)
committerJonathan Corbet <corbet@lwn.net>
Mon, 7 Oct 2024 17:50:54 +0000 (11:50 -0600)
Module kgdb had been converted to debug_core since commit c433820971ff
("Move kernel/kgdb.c to kernel/debug/debug_core.c") be added, so let's
correct the module parameter path.

Fixes: c433820971ff ("Move kernel/kgdb.c to kernel/debug/debug_core.c")
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240925100742.1730576-1-changhuang.liang@starfivetech.com
Documentation/dev-tools/kgdb.rst

index f83ba26..a87a58e 100644 (file)
@@ -329,7 +329,7 @@ ways to activate this feature.
 
 2. Use sysfs before configuring an I/O driver::
 
-       echo 1 > /sys/module/kgdb/parameters/kgdb_use_con
+       echo 1 > /sys/module/debug_core/parameters/kgdb_use_con
 
 .. note::