summaryrefslogtreecommitdiff
path: root/drivers/tty/hvc/hvc_xen.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-01-04 07:42:15 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-03 17:58:41 +0100
commitc0dbcbb52e8ccc4044d9c42cbe4bc56e82121bfd (patch)
tree18ebd1f45ec07f6607a0e40a0010d248ca6046cd /drivers/tty/hvc/hvc_xen.c
parent970aeba3f3e5d46352244c997d33800eeb0fcb4a (diff)
serial: 8250_uniphier: fix error return code in uniphier_uart_probe()
commit 7defa77d2baca4d6eb85234f10f38ab618332e75 upstream. Fix to return a negative error code from the port register error handling case instead of 0, as done elsewhere in this function. Fixes: 39be40ce066d ("serial: 8250_uniphier: fix serial port index in private data") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/hvc/hvc_xen.c')
0 files changed, 0 insertions, 0 deletions