[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <165910175801.2014.14758943115910688556.kvalo@kernel.org>
Date: Fri, 29 Jul 2022 13:35:59 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: williamsukatube@....com
Cc: tony0620emma@...il.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
William Dean <williamsukatube@...il.com>,
Hacash Robot <hacashRobot@...tino.com>
Subject: Re: wifi: rtw88: check the return value of alloc_workqueue()
williamsukatube@....com wrote:
> From: William Dean <williamsukatube@...il.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@...tino.com>
> Signed-off-by: William Dean <williamsukatube@...il.com>
> Reviewed-by: Ping-Ke Shih <pkshih@...ltek.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
Powered by blists - more mailing lists