docs: kgdb: Fix path of driver options
Subsystems (3)
PATCH 1/1 docs: kgdb: Fix path of driver options
The correct path of driver options should be
/sys/module/<driver>/parameters/<option>. Fix it.
Signed-off-by Zenghui Yu <[email protected]>
--- Documentation/process/debugging/kgdb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/process/debugging/kgdb.rst +1 -1
@@ -513,7 +513,7 @@ unregister all the kernel hook points. All kgdb I/O drivers can be reconfigured at run time, if ``CONFIG_SYSFS`` and ``CONFIG_MODULES`` are enabled, by echo'ing a new -config string to ``/sys/module/<driver>/parameter/<option>``. The driver +config string to ``/sys/module/<driver>/parameters/<option>``. The driver can be unconfigured by passing an empty string. You cannot change the configuration while the debugger is attached. Make sure to detach the debugger with the ``detach`` command prior to trying to unconfigure a
Signature · 1 line
2.53.0
Quoted 4 lines · Zenghui Yu
The correct path of driver options should be
/sys/module/<driver>/parameters/<option>. Fix it.Signed-off-by Zenghui Yu <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 17 lines
--- Documentation/process/debugging/kgdb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/process/debugging/kgdb.rst +1
-1@@ -513,7 +513,7 @@ unregister all the kernel hook points. All kgdb I/O drivers can be reconfigured at run time, if ``CONFIG_SYSFS`` and ``CONFIG_MODULES`` are enabled, by echo'ing a new -config string to ``/sys/module/<driver>/parameter/<option>``. The driver +config string to ``/sys/module/<driver>/parameters/<option>``. The driver can be unconfigured by passing an empty string. You cannot change the configuration while the debugger is attached. Make sure to detach the debugger with the ``detach`` command prior to trying to unconfigure a
Signature · 1 line
~Randy
Quoted 4 lines · Zenghui Yu
The correct path of driver options should be
/sys/module/<driver>/parameters/<option>. Fix it.Signed-off-by Zenghui Yu <[email protected]>
Daniel.