i40evf: release bit locks in reverse order
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 27 Oct 2017 15:06:51 +0000 (11:06 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 10 Jan 2018 20:41:21 +0000 (12:41 -0800)
commit22ab4086579b342752bcb11d38d627bf6b38690c
tree9dc460924e84804e9aaa058bbedcb3568e3efbd4
parent504398f0a78e724775d75abb3a0379ca04211a95
i40evf: release bit locks in reverse order

Although not strictly necessary, it is customary to reverse the order in
which we release locks that we acquire. This helps preserve lock
ordering during future refactors, which can help avoid potential
deadlock situations.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c