]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix comment about locking for __i40e_read_nvm_word()
authorStefano Brivio <sbrivio@redhat.com>
Wed, 6 Sep 2017 08:11:38 +0000 (10:11 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 10 Oct 2017 14:54:35 +0000 (07:54 -0700)
commit9439a8bbe0d772b2b685b5e2ac04b4b356830173
treec26aa76a1f0e006b50df5dcedd8cb41e7ab7096a
parentdafde2189589fc03efb1d4e829aa4c55c8087b9e
i40e: Fix comment about locking for __i40e_read_nvm_word()

Caller needs to acquire the lock. Called functions will not.

Fixes: 1328b6e567ba ("i40e: avoid NVM acquire deadlock during NVM update")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_nvm.c