mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] docs: ABI: sysfs-driver-xdata: use literal blocks for console commands
@ 2026-09-23  2:50 Randy Dunlap
  2026-09-26 15:48 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2026-09-23  2:50 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Bjorn Helgaas, linux-pci, Jonathan Corbet,
	Shuah Khan, linux-doc

Use a literal block for console I/O so that the lines aren't merged
together in the produced output.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org

 Documentation/ABI/testing/sysfs-driver-xdata |   20 +++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

--- linux-next-20260921.orig/Documentation/ABI/testing/sysfs-driver-xdata
+++ linux-next-20260921/Documentation/ABI/testing/sysfs-driver-xdata
@@ -9,15 +9,19 @@ Description:	Allows the user to enable t
 
 		Write y/1/on to enable, n/0/off to disable
 
-		Usage e.g.
+		Usage e.g.::
+
 		 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write
-		or
+
+		or::
+
 		 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write
 
 		The user can read the current PCIe link throughput generated
 		through this generator in MB/s.
 
-		Usage e.g.
+		Usage e.g.::
+
 		 cat /sys/class/misc/dw-xdata-pcie.<device>/write
 		 204
 
@@ -34,15 +38,19 @@ Description:	Allows the user to enable t
 
 		Write y/1/on to enable, n/0/off to disable
 
-		Usage e.g.
+		Usage e.g.::
+
 		 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/read
-		or
+
+		or::
+
 		 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/read
 
 		The user can read the current PCIe link throughput generated
 		through this generator in MB/s.
 
-		Usage e.g.
+		Usage e.g.::
+
 		 cat /sys/class/misc/dw-xdata-pcie.<device>/read
 		 199
 

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

end of thread, other threads:[~2026-09-26 15:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23  2:50 [PATCH] docs: ABI: sysfs-driver-xdata: use literal blocks for console commands Randy Dunlap
2026-09-26 15:48 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®