[PATCH] serial: Fix spelling mistake

Zhang Jiaming posted 1 patch 3 years, 9 months ago
drivers/tty/serial/8250/8250_port.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] serial: Fix spelling mistake
Posted by Zhang Jiaming 3 years, 9 months ago
Change 'timeing' to 'timing'.
Change 'Characteres' to 'Characters'.

Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
 drivers/tty/serial/8250/8250_port.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c
index fdf21de74e90..a7ed5012b90e 100644
--- a/drivers/tty/serial/8250/8250_port.c
+++ b/drivers/tty/serial/8250/8250_port.c
@@ -1510,7 +1510,7 @@ static inline void __stop_tx(struct uart_8250_port *p)
 		if (!(lsr & UART_LSR_THRE))
 			return;
 		/*
-		 * To provide required timeing and allow FIFO transfer,
+		 * To provide required timing and allow FIFO transfer,
 		 * __stop_tx_rs485() must be called only when both FIFO and
 		 * shift register are empty. The device driver should either
 		 * enable interrupt on TEMT or set UART_CAP_NOTEMT that will
@@ -2796,7 +2796,7 @@ serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios,
 		port->read_status_mask |= UART_LSR_BI;
 
 	/*
-	 * Characteres to ignore
+	 * Characters to ignore
 	 */
 	port->ignore_status_mask = 0;
 	if (termios->c_iflag & IGNPAR)
-- 
2.34.1
Re: [PATCH] serial: Fix spelling mistake
Posted by Ilpo Järvinen 3 years, 9 months ago
On Wed, 29 Jun 2022, Zhang Jiaming wrote:

> Change 'timeing' to 'timing'.
> Change 'Characteres' to 'Characters'.
> 
> Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

-- 
 i.