2022-06-29 09:49:01

by Zhang Jiaming

[permalink] [raw]
Subject: [PATCH] serial: Fix spelling mistake

Change 'timeing' to 'timing'.
Change 'Characteres' to 'Characters'.

Signed-off-by: Zhang Jiaming <[email protected]>
---
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


2022-06-29 10:41:04

by Ilpo Järvinen

[permalink] [raw]
Subject: Re: [PATCH] serial: Fix spelling mistake

On Wed, 29 Jun 2022, Zhang Jiaming wrote:

> Change 'timeing' to 'timing'.
> Change 'Characteres' to 'Characters'.
>
> Signed-off-by: Zhang Jiaming <[email protected]>

Reviewed-by: Ilpo J?rvinen <[email protected]>

--
i.