[PATCH] docs: ABI: sysfs-driver-xdata: use literal blocks for console commands

Randy Dunlap posted 1 patch 1 day, 10 hours ago
Documentation/ABI/testing/sysfs-driver-xdata |   20 +++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
[PATCH] docs: ABI: sysfs-driver-xdata: use literal blocks for console commands
Posted by Randy Dunlap 1 day, 10 hours ago
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