diff options
author | Pavel Andrianov <[email protected]> | 2016-08-02 12:41:53 +0300 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2016-09-03 13:01:18 +0300 |
commit | bd6b0242652a8a284eed2adec5ac1fc043b8f2ef (patch) | |
tree | 27ebd6c1668fd09df467db60337e43752112d7e5 /tools/perf/scripts/python/stackcollapse.py | |
parent | b0d80f19c14fc5752e806860fe2c702448f5b442 (diff) |
wl3501_cs: Add spinlock to wl3501_reset
Likely wl3501_reset should acquire spinlock as wl3501_{open, close}.
One of calls of wl3501_reset has been already protected.
The others were unprotected and might lead to a race condition.
The patch adds spinlock into the wl3501_reset and removes it from
wl3501_tx_timeout.
Found by Linux Driver Verification project (linuxtesting.org)
Signed-off-by: Pavel Andrianov <[email protected]>
Acked-by: Vaishali Thakkar <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions