Skip to contentSkip to conversation

Documentation: kgdb: Correct parameter error

PATCH In review Changhuang Liang 3 participants 3 messages Sep 25, 2024 – Sep 30, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 Documentation: kgdb: Correct parameter error

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")

---

Hi,

v3: I wrote a error change log in v2. Now fix it.

 Documentation/dev-tools/kgdb.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/dev-tools/kgdb.rst +1 -1
index f83ba2601e55..a87a58e6509a 100644
@@ -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::
 

--
2.25.1

Reviewed-by on v3 1/1
#1 lore raw
Quoted 7 lines · Changhuang Liang

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")

@Jon: Do you want me to hoover this up or will you take it? If you are happy to grab it then feel free to treat my Rb: as an Acked-by: too!

Daniel.

Quoted 24 lines

---

Hi,

v3: I wrote a error change log in v2. Now fix it.

 Documentation/dev-tools/kgdb.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/dev-tools/kgdb.rst +1 -2
index f83ba2601e55..a87a58e6509a 100644
@@ -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::
 
--

2.25.1

maintainer
#2 lore raw
Quoted 5 lines · Daniel Thompson
Quoted 4 lines · Changhuang Liang

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.

Quoted 8 lines
Quoted 3 lines
Fixes c433820971ff ("Move kernel/kgdb.c to kernel/debug/debug_core.c")

@Jon: Do you want me to hoover this up or will you take it? If you are happy to grab it then feel free to treat my Rb: as an Acked-by: too!

Sure, I can grab it in a bit.

Thanks,

jon