Messages in this thread | | | Subject | Re: wifi: rtw88: check the return value of alloc_workqueue() | From | Kalle Valo <> | Date | Fri, 29 Jul 2022 13:35:59 +0000 (UTC) |
| |
williamsukatube@163.com wrote:
> From: William Dean <williamsukatube@gmail.com> > > 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 <hacashRobot@santino.com> > Signed-off-by: William Dean <williamsukatube@gmail.com> > Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Patch applied to wireless-next.git, thanks.
42bbf810e155 wifi: rtw88: check the return value of alloc_workqueue()
-- https://patchwork.kernel.org/project/linux-wireless/patch/20220723063756.2956189-1-williamsukatube@163.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |