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 <[email protected]> Reviewed-by: Wojciech Drewek <[email protected]> Tested-by: Rafal Romanowski <[email protected]> Signed-off-by: Jacob Keller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 6479c97 commit 77361cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)