Documentation: kgdb: properly capitalize the MAGIC_SYSRQ config
Subsystems (3)
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
@@ -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
Quoted 7 lines · Lukas Bulwahn
Most readers are probably going to figure out that the config is actually all upper-case letters, as all
Kconfigsymbols are this way.Properly capitalizing makes the script
./scripts/checkkconfigsymbols.pyhappy, which otherwise would report this as a reference to a non-existingKconfigsymbol.
Quoted 7 lines
So, use the right capitalization for the
MAGIC_SYSRQconfig in the kgdb documentation.Signed-off-by Lukas Bulwahn <[email protected]>--- Documentation/dev-tools/kgdb.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
jon