Re: [PATCH 08/16] zd1211rw: Replace spin_is_locked() with lockdep

From: Kalle Valo
Date: Fri Oct 05 2018 - 04:35:39 EST


Lance Roy <ldr709@xxxxxxxxx> wrote:

> lockdep_assert_held() is better suited to checking locking requirements,
> since it won't get confused when someone else holds the lock. This is
> also a step towards possibly removing spin_is_locked().
>
> Signed-off-by: Lance Roy <ldr709@xxxxxxxxx>
> Cc: Daniel Drake <dsd@xxxxxxxxxx>
> Cc: Ulrich Kunitz <kune@xxxxxxxxxxxxxx>
> Cc: Kalle Valo <kvalo@xxxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: <linux-wireless@xxxxxxxxxxxxxxx>
> Cc: <netdev@xxxxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

209e957b467b zd1211rw: Replace spin_is_locked() with lockdep

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

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches