Message ID | 20190731160557.6a09c3e1@canb.auug.org.au (mailing list archive) |
---|---|
State | Mainlined |
Commit | 2bf593f101f3ca8f512b7fcd50952d7f682ca794 |
Headers | show |
Series | xilinx_uartps.c: suppress "may be used uninitialised" warning | expand |
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index f145946f659b..da4563aaaf5c 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1194,7 +1194,7 @@ static void cdns_uart_console_write(struct console *co, const char *s, unsigned int count) { struct uart_port *port = console_port; - unsigned long flags; + unsigned long flags = 0; unsigned int imr, ctrl; int locked = 1;