diff options
author | Jiasheng Jiang <[email protected]> | 2023-01-04 22:29:01 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-01-16 15:36:15 +0200 |
commit | ed9e6166eb0984b718facb7ca59296098cc3aa64 (patch) | |
tree | 7b85372d5ff683fa6403b3a767c4323907b67863 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 4a0e218cc9c42d1903ade8b5a371dcf48cf918c5 (diff) |
wifi: rtw89: Add missing check for alloc_workqueue
Add check for the return value of alloc_workqueue since it may return
NULL pointer.
Moreover, add destroy_workqueue when rtw89_load_firmware fails.
Fixes: e3ec7017f6a2 ("rtw89: add Realtek 802.11ax driver")
Signed-off-by: Jiasheng Jiang <[email protected]>
Acked-by: Ping-Ke Shih <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions