diff options
| author | Shuah Khan <skhan@linuxfoundation.org> | 2022-04-29 15:09:13 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-09 15:40:15 +0200 |
| commit | f861d36e021e1ac4a0a2a1f6411d623809975d63 (patch) | |
| tree | a1a07333693e1ecd9fd27f92a800b492b3523270 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 9145554d3613299c8f9b0d17c62762cb6b0c4e41 (diff) | |
misc: rtsx: set NULL intfdata when probe fails
rtsx_usb_probe() doesn't call usb_set_intfdata() to null out the
interface pointer when probe fails. This leaves a stale pointer.
Noticed the missing usb_set_intfdata() while debugging an unrelated
invalid DMA mapping problem.
Fix it with a call to usb_set_intfdata(..., NULL).
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220429210913.46804-1-skhan@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
