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)
commite836e3211229d7307660239cc957f2ab60e6aa00
treec26aa76a1f0e006b50df5dcedd8cb41e7ab7096a
parent529a86e063e9ff625c4ff247d8aa17d8072444fb
i40e: Fix comment about locking for __i40e_read_nvm_word()

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

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