From: Alexey Khoroshilov Date: Wed, 5 Jun 2013 21:28:12 +0000 (+0400) Subject: tty/serial/sirf: fix error propagation in sirfsoc_uart_probe() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~77^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f6d20ff848c23506c2ec55431479cb350179886;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed