linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: kgdb: properly capitalize the MAGIC_SYSRQ config
@ 2021-12-30 17:24 Lukas Bulwahn
  2022-01-03 22:54 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2021-12-30 17:24 UTC (permalink / raw)
  To: Jason Wessel, Daniel Thompson, Douglas Anderson, kgdb-bugreport,
	Jonathan Corbet, linux-doc
  Cc: kernel-janitors, linux-kernel, 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.

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

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 Documentation/dev-tools/kgdb.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/dev-tools/kgdb.rst b/Documentation/dev-tools/kgdb.rst
index 43456244651a..3e3f7bca937d 100644
--- a/Documentation/dev-tools/kgdb.rst
+++ b/Documentation/dev-tools/kgdb.rst
@@ -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::
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation: kgdb: properly capitalize the MAGIC_SYSRQ config
  2021-12-30 17:24 [PATCH] Documentation: kgdb: properly capitalize the MAGIC_SYSRQ config Lukas Bulwahn
@ 2022-01-03 22:54 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2022-01-03 22:54 UTC (permalink / raw)
  To: Lukas Bulwahn, Jason Wessel, Daniel Thompson, Douglas Anderson,
	kgdb-bugreport, linux-doc
  Cc: kernel-janitors, linux-kernel, Lukas Bulwahn

Lukas Bulwahn <lukas.bulwahn@gmail.com> writes:

> 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.
>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> ---
>  Documentation/dev-tools/kgdb.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-03 22:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30 17:24 [PATCH] Documentation: kgdb: properly capitalize the MAGIC_SYSRQ config Lukas Bulwahn
2022-01-03 22:54 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).