]> asedeno.scripts.mit.edu Git - linux.git/commit
serial: uartps: Fix multiple line dereference
authorNava kishore Manne <nava.manne@xilinx.com>
Wed, 12 Jun 2019 11:14:40 +0000 (13:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 07:34:27 +0000 (09:34 +0200)
commitb6415f243919703c97483a29ff918872f66f165c
tree294fe746c15dc03577341ed7eb217936409d048a
parent26d5a3245b3f3ce406277e7584f7ccbbd5ea98bb
serial: uartps: Fix multiple line dereference

Trivial patch which fixes this checkpatch warning:
WARNING: Avoid multiple line dereference - prefer 'port->state->xmit.tail'
+ port->state->xmit.buf[port->state->xmit.
+ tail], port->membase + CDNS_UART_FIFO);

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