Skip to contentSkip to conversation

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

PATCH Applied Randy Dunlap 3 participants 3 messages Sep 23 – Sep 26

Subsystems (2)
lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH 1/1 docs: ABI: sysfs-driver-xdata: use literal blocks for console commands

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

---
Cc: Bjorn Helgaas <[email protected]>
Cc: [email protected]
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: [email protected]

 Documentation/ABI/testing/sysfs-driver-xdata |   20 +++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
Documentation/ABI/testing/sysfs-driver-xdata +14 -6
@@ -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
 
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 4 lines

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

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
maintainer Applied
#2 lore raw
In reply to Randy Dunlap
Quoted 11 lines · Randy Dunlap

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

---
Cc: Bjorn Helgaas <[email protected]>
Cc: [email protected]
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: [email protected]

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

Applied, thanks.

jon