diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-07-17 10:12:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-17 13:19:19 +0200 |
commit | 2b01bfaeb41e1563322448d9b392ac924cbf22ef (patch) | |
tree | 20b8d4ee07b8cb5daac89be69597a3bcf4ed0ed9 /arch/unicore32 | |
parent | Linux v4.13-rc1 (diff) | |
download | linux-2b01bfaeb41e1563322448d9b392ac924cbf22ef.tar.xz linux-2b01bfaeb41e1563322448d9b392ac924cbf22ef.zip |
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 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions