Re: [PATCH] staging: rtl8723bs: modify misleading comment

From: Dan Carpenter

Date: Fri Aug 21 2026 - 16:54:08 EST


On Fri, Aug 21, 2026 at 09:58:23PM +0200, Omer El Idrissi wrote:
> The comment suggests that rtw_unregister_cmd_alive is called
> by the ISR, while it's called by function rtw_cmd_thread which runs in
> the kernel thread context.
>
> Signed-off-by: Omer El Idrissi <omer.e.idrissi@xxxxxxxxx>
> ---
> drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
> index b9f8cf1014ed..a4831dc145eb 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
> @@ -891,7 +891,7 @@ void rtw_unregister_tx_alive(struct adapter *padapter)
> }
>
> /*
> - * Caller: ISR
> + * Caller: not ISR

The original comment is obviously wrong, and that's bad. But is "not ISR"
useful? Probably we might as well just delete the comment. It's not
like people don't have ctags.

regards,
dan carpenter