diff options
author | William Dean <[email protected]> | 2022-07-23 14:37:56 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2022-07-29 16:35:53 +0300 |
commit | 42bbf810e155efc6129a3a648ae5300f00b79d7b (patch) | |
tree | fc5e1f54c90cace403ac4587430727d4b8156ea8 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 334facd651b98f2e6c6bb699405f8b7421b9b40c (diff) |
wifi: rtw88: check the return value of alloc_workqueue()
The function alloc_workqueue() in rtw_core_init() can fail, but
there is no check of its return value. To fix this bug, its return value
should be checked with new error handling code.
Fixes: fe101716c7c9d ("rtw88: replace tx tasklet with work queue")
Reported-by: Hacash Robot <[email protected]>
Signed-off-by: William Dean <[email protected]>
Reviewed-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions