Commit 067e9585 authored by Jiri Slaby (SUSE)'s avatar Jiri Slaby (SUSE) Committed by Greg Kroah-Hartman
Browse files

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: default avatarJiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250317070046.24386-32-jirislaby@kernel.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2667bd66
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;