serial: 8250_fintek: fix warning reported from smatch
authorJi-Ze Hong (Peter Hong) <hpeter@gmail.com>
Tue, 3 Oct 2017 03:08:35 +0000 (11:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Oct 2017 18:31:17 +0000 (20:31 +0200)
This patch is fix the warning reported by smatch as following:

drivers/tty/serial/8250/8250_fintek.c:294 fintek_8250_goto_highspeed()
warn: inconsistent indenting

Signed-off-by: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_fintek.c

index f3b622f..96cc45f 100644 (file)
@@ -290,7 +290,7 @@ static void fintek_8250_goto_highspeed(struct uart_8250_port *uart,
                        F81866_UART_CLK_MASK,
                        F81866_UART_CLK_14_769MHZ);
 
-                       uart->port.uartclk = 921600 * 16;
+               uart->port.uartclk = 921600 * 16;
                break;
        default: /* leave clock speed untouched */
                break;