Skip to content

Commit 77361cb

Browse files
michichkuba-moo
authored andcommitted
iavf: fix comments about old bit locks
Bit lock __IAVF_IN_CRITICAL_TASK does not exist anymore since commit 5ac49f3 ("iavf: use mutexes for locking of critical sections"). Adjust the comments accordingly. Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Tested-by: Rafal Romanowski <rafal.romanowski@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://lore.kernel.org/r/20231027175941.1340255-2-jacob.e.keller@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 6479c97 commit 77361cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/net/ethernet/intel/iavf/iavf_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ static void iavf_configure(struct iavf_adapter *adapter)
12761276
* iavf_up_complete - Finish the last steps of bringing up a connection
12771277
* @adapter: board private structure
12781278
*
1279-
* Expects to be called while holding the __IAVF_IN_CRITICAL_TASK bit lock.
1279+
* Expects to be called while holding crit_lock.
12801280
**/
12811281
static void iavf_up_complete(struct iavf_adapter *adapter)
12821282
{
@@ -1400,7 +1400,7 @@ static void iavf_clear_adv_rss_conf(struct iavf_adapter *adapter)
14001400
* iavf_down - Shutdown the connection processing
14011401
* @adapter: board private structure
14021402
*
1403-
* Expects to be called while holding the __IAVF_IN_CRITICAL_TASK bit lock.
1403+
* Expects to be called while holding crit_lock.
14041404
**/
14051405
void iavf_down(struct iavf_adapter *adapter)
14061406
{

0 commit comments

Comments
 (0)