Skip to content

Commit adbfddc

Browse files
sterling-tenggregkh
authored andcommitted
docs/driver-api: Replace a comma in the n_gsm.rst with a double colon
Since b9e851c ("tty: n_gsm: Add some instructions and code for requester") which introduced a warning: linux/Documentation/driver-api/serial/n_gsm.rst:23: WARNING: Definition list ends without a blank line; unexpected unindent. linux/Documentation/driver-api/serial/n_gsm.rst:100: WARNING: Definition list ends without a blank line; unexpected unindent. linux/Documentation/driver-api/serial/n_gsm.rst:115: WARNING: Inline emphasis start-string without end-string. linux/Documentation/driver-api/serial/n_gsm.rst:118: WARNING: Inline emphasis start-string without end-string. linux/Documentation/driver-api/serial/n_gsm.rst:120: WARNING: Inline emphasis start-string without end-string. linux/Documentation/driver-api/serial/n_gsm.rst:122: WARNING: Inline emphasis start-string without end-string. linux/Documentation/driver-api/serial/n_gsm.rst:125: WARNING: Inline emphasis start-string without end-string. linux/Documentation/driver-api/serial/n_gsm.rst:139: WARNING: Inline emphasis start-string without end-string. A paragraph consisting of two colons ("::") signifies that the following text block(s) comprise a literal block. Add soome blank lines. Signed-off-by: Yanteng Si <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent fb09d0a commit adbfddc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Documentation/driver-api/serial/n_gsm.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ How to use it
1818
1.1 initialize the modem in 0710 mux mode (usually AT+CMUX= command) through
1919
its serial port. Depending on the modem used, you can pass more or less
2020
parameters to this command.
21+
2122
1.2 switch the serial line to using the n_gsm line discipline by using
2223
TIOCSETD ioctl.
24+
2325
1.3 configure the mux using GSMIOC_GETCONF / GSMIOC_SETCONF ioctl.
26+
2427
1.4 obtain base gsmtty number for the used serial port.
2528

2629
Major parts of the initialization program :
@@ -95,10 +98,13 @@ Major parts of the initialization program :
9598

9699
2.1 receive string "AT+CMUX= command" through its serial port,initialize
97100
mux mode config
101+
98102
2.2 switch the serial line to using the n_gsm line discipline by using
99103
TIOCSETD ioctl.
104+
100105
2.3 configure the mux using GSMIOC_GETCONF / GSMIOC_SETCONF ioctl.
101-
2.4 obtain base gsmtty number for the used serial port,
106+
107+
2.4 obtain base gsmtty number for the used serial port::
102108

103109
#include <stdio.h>
104110
#include <stdint.h>

0 commit comments

Comments
 (0)