[Intel-wired-lan] [PATCH 04/16] i40e: Replace spin_is_locked() with lockdep

Bowers, AndrewX andrewx.bowers at intel.com
Thu Oct 4 18:24:32 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Lance Roy
> Sent: Tuesday, October 2, 2018 10:39 PM
> To: linux-kernel at vger.kernel.org
> Cc: netdev at vger.kernel.org; Lance Roy <ldr709 at gmail.com>; intel-wired-
> lan at lists.osuosl.org; Paul E. McKenney <paulmck at linux.ibm.com>; David S.
> Miller <davem at davemloft.net>
> Subject: [Intel-wired-lan] [PATCH 04/16] i40e: Replace spin_is_locked() with
> lockdep
> 
> 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 at gmail.com>
> Cc: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: intel-wired-lan at lists.osuosl.org
> Cc: <netdev at vger.kernel.org>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list