linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: sysrq: Remove contradicting sentence on extra /proc/sysrq-trigger characters
@ 2025-10-08 11:24 Bagas Sanjaya
  2025-10-09  2:18 ` Randy Dunlap
  2025-10-14 14:55 ` Jonathan Corbet
  0 siblings, 2 replies; 10+ messages in thread
From: Bagas Sanjaya @ 2025-10-08 11:24 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation, Linux Serial
  Cc: Jonathan Corbet, Cengiz Can, Bagas Sanjaya, Tomas Mudrunka,
	Jiri Slaby, Greg Kroah-Hartman, Anselm Schüler

/proc/sysrq-trigger documentation states that only first character is
processed and the rest is ignored, yet it is not recommended to write
any extra characters to it. The latter statement is contradictive as
these characters are also ignored as implied by preceding sentence.

Remove it.

Link: https://lore.kernel.org/lkml/7ca05672-dc20-413f-a923-f77ce0a9d307@anselmschueler.com/
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/admin-guide/sysrq.rst | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Documentation/admin-guide/sysrq.rst b/Documentation/admin-guide/sysrq.rst
index 9c7aa817adc72d..63ff415ce85d66 100644
--- a/Documentation/admin-guide/sysrq.rst
+++ b/Documentation/admin-guide/sysrq.rst
@@ -77,9 +77,7 @@ On other
 On all
 	Write a single character to /proc/sysrq-trigger.
 	Only the first character is processed, the rest of the string is
-	ignored. However, it is not recommended to write any extra characters
-	as the behavior is undefined and might change in the future versions.
-	E.g.::
+	ignored. E.g.::
 
 		echo t > /proc/sysrq-trigger
 

base-commit: c746c3b5169831d7fb032a1051d8b45592ae8d78
-- 
An old man doll... just what I always wanted! - Clara


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

end of thread, other threads:[~2025-10-16 18:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-08 11:24 [PATCH] Documentation: sysrq: Remove contradicting sentence on extra /proc/sysrq-trigger characters Bagas Sanjaya
2025-10-09  2:18 ` Randy Dunlap
2025-10-14 14:55 ` Jonathan Corbet
2025-10-14 17:57   ` Randy Dunlap
2025-10-15  0:11     ` Bagas Sanjaya
2025-10-15  6:18       ` Jiri Slaby
2025-10-15  9:39         ` Bagas Sanjaya
2025-10-16 10:17   ` Tomas Mudrunka
2025-10-16 10:47     ` Bagas Sanjaya
2025-10-16 18:51     ` Randy Dunlap

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