]> 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)
commit0a86a430b81a7c50fcc6ff41a468aa28d628b6e1
treec26aa76a1f0e006b50df5dcedd8cb41e7ab7096a
parente303c244204c37c2bb6d80ad2c2f7994e045fae8
i40e: Fix comment about locking for __i40e_read_nvm_word()

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

Fixes: e75612a571cd ("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