commit | 9f6d20ff848c23506c2ec55431479cb350179886 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Thu Jun 06 01:28:12 2013 +0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 06 13:07:05 2013 -0700 |
tree | 1670aae9b3bf74a9ad6afdfc02c4e57d4940bcee | |
parent | 7f25301d83432efb0e7bb3fba288001a7bb03fdb [diff] |
tty/serial/sirf: fix error propagation in sirfsoc_uart_probe() If pinctrl_get_select_default() fails, sirfsoc_uart_probe() returns IS_ERR(result) instead of PTR_ERR(result). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>