From: Jiri Slaby (SUSE) Date: Mon, 17 Mar 2025 07:00:46 +0000 (+0100) Subject: serial: switch change_irq and change_port to bool in uart_set_info() X-Git-Tag: v6.15-rc1~47^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=067e95857021bb242099d6bd818e1c57a101802b;p=thirdparty%2Fkernel%2Flinux.git 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) Link: https://lore.kernel.org/r/20250317070046.24386-32-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 20b2d5c5df6de..04eaa24ed153d 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -895,8 +895,8 @@ static int uart_set_info(struct tty_struct *tty, struct tty_port *port, { struct uart_port *uport = uart_port_check(state); unsigned long new_port; - unsigned int change_irq, change_port, closing_wait; - unsigned int old_custom_divisor, close_delay; + unsigned int old_custom_divisor, close_delay, closing_wait; + bool change_irq, change_port; upf_t old_flags, new_flags; int retval;