serial: uartps: Fix long line over 80 chars
authorNava kishore Manne <nava.manne@xilinx.com>
Wed, 12 Jun 2019 11:14:41 +0000 (13:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 07:34:28 +0000 (09:34 +0200)
Trivial patch which fixes one checkpatch warning:
WARNING: line over 80 characters
+        !(readl(port->membase + CDNS_UART_SR)
& CDNS_UART_SR_TXFULL)) {

Fixes: c8dbdc842d30 ("serial: xuartps: Rewrite the interrupt handling logic")
Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c

index 2dff879..69ed81d 100644 (file)
@@ -314,7 +314,8 @@ static void cdns_uart_handle_tx(void *dev_id)
        } else {
                numbytes = port->fifosize;
                while (numbytes && !uart_circ_empty(&port->state->xmit) &&
-                      !(readl(port->membase + CDNS_UART_SR) & CDNS_UART_SR_TXFULL)) {
+                      !(readl(port->membase + CDNS_UART_SR) &
+                                               CDNS_UART_SR_TXFULL)) {
                        /*
                         * Get the data from the UART circular buffer
                         * and write it to the cdns_uart's TX_FIFO