diff options
| author | Anton Vasilyev <[email protected]> | 2018-06-13 20:34:43 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-06-17 09:05:13 +0200 |
| commit | 70ce2440e20833d1b08222749cba780291a66e30 (patch) | |
| tree | 6e162538daeb66490bc77eea87eda8dd40b4069a /tools/perf/scripts/python | |
| parent | 3a29f43cc3160c3f5cde7b1779fc05ebe68a56e5 (diff) | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions