diff options
| author | Pavel Skripkin <[email protected]> | 2022-06-07 22:26:05 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-10 09:11:04 +0200 |
| commit | 857fe9e5efc09833fe1110e99d8baba954a86abb (patch) | |
| tree | 6002f19c55a97da5f854e35dd00949bec9937f82 /tools/perf/scripts/python/flamegraph.py | |
| parent | da30e351882965df99455904c3c020d138899d9f (diff) | |
staging: r8188eu: add error handling of rtw_read8
rtw_read8() reads data from device via USB API which may fail. In case
of any failure previous code returned stack data to callers, which is
wrong.
Fix it by changing rtw_read8() prototype and prevent caller from
touching random stack data
Signed-off-by: Pavel Skripkin <[email protected]>
Link: https://lore.kernel.org/r/c8f8ef4f14db3ba2478a87d5be6eb768a093dfaf.1654629778.git.paskripkin@gmail.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions