diff options
author | Anton Vasilyev <vasilyev@ispras.ru> | 2018-06-13 20:34:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-17 09:05:13 +0200 |
commit | 70ce2440e20833d1b08222749cba780291a66e30 (patch) | |
tree | 6e162538daeb66490bc77eea87eda8dd40b4069a /drivers/staging/gdm724x | |
parent | 3a29f43cc3160c3f5cde7b1779fc05ebe68a56e5 (diff) | |
download | linux-70ce2440e20833d1b08222749cba780291a66e30.tar.bz2 |
staging: rts5208: add error handling into rtsx_probe
If rtsx_probe() fails to allocate dev->chip, then release_everything()
will crash on uninitialized dev->cmnd_ready complete.
Patch adds error handling into rtsx_probe.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x')
0 files changed, 0 insertions, 0 deletions