summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sh-sci.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-17 11:12:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 14:19:19 +0300
commit2b01bfaeb41e1563322448d9b392ac924cbf22ef (patch)
tree20b8d4ee07b8cb5daac89be69597a3bcf4ed0ed9 /drivers/tty/serial/sh-sci.c
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
downloadlinux-2b01bfaeb41e1563322448d9b392ac924cbf22ef.tar.xz
serial: st-asc: Potential error pointer dereference
It looks like we intended to return an error code here, because we dereference "ascport->pinctrl" on the next lines. Fixes: 6929cb00a501 ("serial: st-asc: Read in all Pinctrl states") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Lee Jones <lee.jones@linaro.org> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sh-sci.c')
0 files changed, 0 insertions, 0 deletions