Re: [PATCH 3/6] staging: r8188eu: cnt is set but not used

From: Pavel Skripkin
Date: Sat Feb 26 2022 - 13:10:01 EST


Hi Martin,

On 2/26/22 21:07, Martin Kaiser wrote:
What exactly is this doing that's not allowed in a tasklet? Does it call
anything that could potentially block?


I mean infinity loop :)

If I pull rtw_alloc_recvframe into the loop, that function uses spin_lock_bh +
spin_unlock_bh, I guess this is ok. As for recv_func_posthandle, I don't
see anything where we could be stuck...


Yeah, I guess, it's how it meant to be (like in rtw_free_uc_swdec_pending_queue())




With regards,
Pavel Skripkin