Thread (3 messages) flat view 3 messages, 3 authors, 2019-11-25

Re: [PATCH] wil6210: fix break that is never reached because of zero'ing of a retry counter

From: Kalle Valo <hidden>
Date: 2019-11-25 12:15:01
Also in: kernel-janitors, linux-wireless, lkml

Colin King [off-list ref] wrote:
There is a check on the retry counter invalid_buf_id_retry that is always
false because invalid_buf_id_retry is initialized to zero on each iteration
of a while-loop.  Fix this by initializing the retry counter before the
while-loop starts.

Addresses-Coverity: ("Logically dead code")
Fixes: b4a967b7d0f5 ("wil6210: reset buff id in status message after completion")
Signed-off-by: Colin Ian King <redacted>
Reviewed-by: Maya Erez <redacted>
Signed-off-by: Kalle Valo <redacted>
Patch applied to ath-next branch of ath.git, thanks.

5b1413f00b5b wil6210: fix break that is never reached because of zero'ing of a retry counter

-- 
https://patchwork.kernel.org/patch/11246193/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help