]> git.baikalelectronics.ru Git - kernel.git/commit
igbvf: Replace spin_is_locked() with lockdep
authorLance Roy <ldr709@gmail.com>
Wed, 3 Oct 2018 05:38:51 +0000 (22:38 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Nov 2018 17:47:00 +0000 (09:47 -0800)
commit9a645fb2fe6c46dc14ddf6da05ba3d5ea02dec23
tree4089c9a0bffb7e740403632e6848ff1507083686
parent0ee61556c634a15a480652ad663b05155875f68b
igbvf: 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@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igbvf/mbx.c