Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

bfin_5xx: misplaced parentheses

`!' has a higher precedence than `&', parentheses are misplaced.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Cc: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Roel Kluin and committed by
Linus Torvalds
daba0280 2e2e4259

+3 -3
+3 -3
drivers/serial/bfin_5xx.c
··· 166 166 struct tty_struct *tty = uart->port.info->port.tty; 167 167 168 168 #ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS 169 - if (uart->scts && (!bfin_serial_get_mctrl(&uart->port)&TIOCM_CTS)) { 169 + if (uart->scts && !(bfin_serial_get_mctrl(&uart->port) & TIOCM_CTS)) { 170 170 uart->scts = 0; 171 171 uart_handle_cts_change(&uart->port, uart->scts); 172 172 } ··· 368 368 struct bfin_serial_port *uart = dev_id; 369 369 370 370 #ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS 371 - if (uart->scts && (!bfin_serial_get_mctrl(&uart->port)&TIOCM_CTS)) { 371 + if (uart->scts && !(bfin_serial_get_mctrl(&uart->port) & TIOCM_CTS)) { 372 372 uart->scts = 0; 373 373 uart_handle_cts_change(&uart->port, uart->scts); 374 374 } ··· 504 504 struct circ_buf *xmit = &uart->port.info->xmit; 505 505 506 506 #ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS 507 - if (uart->scts && (!bfin_serial_get_mctrl(&uart->port)&TIOCM_CTS)) { 507 + if (uart->scts && !(bfin_serial_get_mctrl(&uart->port)&TIOCM_CTS)) { 508 508 uart->scts = 0; 509 509 uart_handle_cts_change(&uart->port, uart->scts); 510 510 }