Skip to content

Commit 0088d75

Browse files
bagasmegregkh
authored andcommitted
tools: usb: p9_fwd: wrap USBG shell command examples in literal code blocks
Stephen Rothwell reported htmldocs warning when merging usb tree: Documentation/filesystems/9p.rst:99: ERROR: Unexpected indentation. That's because Sphinx tries rendering p9_fwd.py output as a grid table instead. Wrap shell commands in "USBG Example" section in literal code blocks to fix above warning and to be in line with rest of commands in the doc. Reported-by: Stephen Rothwell <[email protected]> Closes: https://lore.kernel.org/linux-next/[email protected]/ Fixes: 673f0c3 ("tools: usb: p9_fwd: add usb gadget packet forwarder script") Signed-off-by: Bagas Sanjaya <[email protected]> Acked-by: Michael Grzeschik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7b24a3b commit 0088d75

File tree

1 file changed

+3
-3
lines changed
  • Documentation/filesystems

1 file changed

+3
-3
lines changed

Documentation/filesystems/9p.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ When using the usbg transport, for now there is no native usb host
8686
service capable to handle the requests from the gadget driver. For
8787
this we have to use the extra python tool p9_fwd.py from tools/usb.
8888

89-
Just start the 9pfs capable network server like diod/nfs-ganesha e.g.:
89+
Just start the 9pfs capable network server like diod/nfs-ganesha e.g.::
9090

9191
$ diod -f -n -d 0 -S -l 0.0.0.0:9999 -e $PWD
9292

93-
Optionaly scan your bus if there are more then one usbg gadgets to find their path:
93+
Optionaly scan your bus if there are more then one usbg gadgets to find their path::
9494

9595
$ python $kernel_dir/tools/usb/p9_fwd.py list
9696

@@ -99,7 +99,7 @@ Optionaly scan your bus if there are more then one usbg gadgets to find their pa
9999
2 | 67 | unknown | unknown | 1d6b:0109 | 2-1.1.2
100100
2 | 68 | unknown | unknown | 1d6b:0109 | 2-1.1.3
101101

102-
Then start the python transport:
102+
Then start the python transport::
103103

104104
$ python $kernel_dir/tools/usb/p9_fwd.py --path 2-1.1.2 connect -p 9999
105105

0 commit comments

Comments
 (0)