Re: wl3501_cs: Add spinlock to wl3501_reset

From: Kalle Valo
Date: Sat Sep 03 2016 - 06:11:52 EST


Pavel Andrianov <andrianov@xxxxxxxxx> wrote:
> Likely wl3501_reset should acquire spinlock as wl3501_{open, close}.
> One of calls of wl3501_reset has been already protected.
> The others were unprotected and might lead to a race condition.
> The patch adds spinlock into the wl3501_reset and removes it from
> wl3501_tx_timeout.
>
> Found by Linux Driver Verification project (linuxtesting.org)
>
> Signed-off-by: Pavel Andrianov <andrianov@xxxxxxxxx>
> Acked-by: Vaishali Thakkar <vaishali.thakkar@xxxxxxxxxx>

Thanks, 1 patch applied to wireless-drivers-next.git:

bd6b0242652a wl3501_cs: Add spinlock to wl3501_reset

--
Sent by pwcli
https://patchwork.kernel.org/patch/9255415/