Skip to content

Commit 067e958

Browse files
Jiri Slaby (SUSE)gregkh
authored andcommitted
serial: switch change_irq and change_port to bool in uart_set_info()
change_irq and change_port are boolean variables. Mark them as such (instead of uint). Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2667bd6 commit 067e958

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/tty/serial/serial_core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,8 @@ static int uart_set_info(struct tty_struct *tty, struct tty_port *port,
895895
{
896896
struct uart_port *uport = uart_port_check(state);
897897
unsigned long new_port;
898-
unsigned int change_irq, change_port, closing_wait;
899-
unsigned int old_custom_divisor, close_delay;
898+
unsigned int old_custom_divisor, close_delay, closing_wait;
899+
bool change_irq, change_port;
900900
upf_t old_flags, new_flags;
901901
int retval;
902902

0 commit comments

Comments
 (0)