commit | 2b01bfaeb41e1563322448d9b392ac924cbf22ef | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jul 17 11:12:38 2017 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 17 13:19:19 2017 +0200 |
tree | 20b8d4ee07b8cb5daac89be69597a3bcf4ed0ed9 | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 [diff] |
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>