Messages in this thread Patch in this message | | | From | Clement Smith <> | Subject | [PATCH 3/8] tty: serial: jsm: Fixed file by added more spacing in line 612 | Date | Sat, 5 Dec 2020 19:50:10 +0530 |
| |
Fixed a coding style issue
Signed-off-by: Clement Smith <rclemsmith@gmail.com> --- drivers/tty/serial/jsm/jsm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c index 202d6ba93313..2bc5f32e59f4 100644 --- a/drivers/tty/serial/jsm/jsm_tty.c +++ b/drivers/tty/serial/jsm/jsm_tty.c @@ -609,7 +609,7 @@ void jsm_input(struct jsm_channel *ch) */ if (*(ch->ch_equeue + tail + i) & UART_LSR_BI) tty_insert_flip_char(port, *(ch->ch_rqueue + tail + i), TTY_BREAK); - else if (*(ch->ch_equeue +tail +i) & UART_LSR_PE) + else if (*(ch->ch_equeue + tail + i) & UART_LSR_PE) tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_PARITY); else if (*(ch->ch_equeue +tail +i) & UART_LSR_FE) tty_insert_flip_char(port, *(ch->ch_rqueue +tail +i), TTY_FRAME); -- 2.27.0
| |