Skip to contentSkip to conversation

Documentation: kgdb: properly capitalize the MAGIC_SYSRQ config

PATCH Applied Lukas Bulwahn 2 participants 2 messages Dec 30, 2021 – Jan 3, 2022

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

PATCH 1/1 Documentation: kgdb: properly capitalize the MAGIC_SYSRQ config

Most readers are probably going to figure out that the config is actually all upper-case letters, as all Kconfig symbols are this way.

Properly capitalizing makes the script ./scripts/checkkconfigsymbols.py happy, which otherwise would report this as a reference to a non-existing Kconfig symbol.

So, use the right capitalization for the MAGIC_SYSRQ config in the kgdb documentation.

---
 Documentation/dev-tools/kgdb.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/dev-tools/kgdb.rst +2 -2
index 43456244651a..3e3f7bca937d 100644
@@ -402,7 +402,7 @@ This is a quick example of how to use kdb.
 2. Enter the kernel debugger manually or by waiting for an oops or
    fault. There are several ways you can enter the kernel debugger
    manually; all involve using the :kbd:`SysRq-G`, which means you must have
-   enabled ``CONFIG_MAGIC_SysRq=y`` in your kernel config.
+   enabled ``CONFIG_MAGIC_SYSRQ=y`` in your kernel config.
 
    -  When logged in as root or with a super user session you can run::
 
@@ -461,7 +461,7 @@ This is a quick example of how to use kdb with a keyboard.
 2. Enter the kernel debugger manually or by waiting for an oops or
    fault. There are several ways you can enter the kernel debugger
    manually; all involve using the :kbd:`SysRq-G`, which means you must have
-   enabled ``CONFIG_MAGIC_SysRq=y`` in your kernel config.
+   enabled ``CONFIG_MAGIC_SYSRQ=y`` in your kernel config.
 
    -  When logged in as root or with a super user session you can run::
 
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 7 lines · Lukas Bulwahn

Most readers are probably going to figure out that the config is actually all upper-case letters, as all Kconfig symbols are this way.

Properly capitalizing makes the script ./scripts/checkkconfigsymbols.py happy, which otherwise would report this as a reference to a non-existing Kconfig symbol.

Quoted 7 lines

So, use the right capitalization for the MAGIC_SYSRQ config in the kgdb documentation.

---
 Documentation/dev-tools/kgdb.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

jon