diff options
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c index 3f52fadee3ed..513573321625 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | |||
@@ -3847,7 +3847,7 @@ static bool bnx2x_credit_pool_get_entry( | |||
3847 | continue; | 3847 | continue; |
3848 | 3848 | ||
3849 | /* If we've got here we are going to find a free entry */ | 3849 | /* If we've got here we are going to find a free entry */ |
3850 | for (idx = vec * BNX2X_POOL_VEC_SIZE, i = 0; | 3850 | for (idx = vec * BIT_VEC64_ELEM_SZ, i = 0; |
3851 | i < BIT_VEC64_ELEM_SZ; idx++, i++) | 3851 | i < BIT_VEC64_ELEM_SZ; idx++, i++) |
3852 | 3852 | ||
3853 | if (BIT_VEC64_TEST_BIT(o->pool_mirror, idx)) { | 3853 | if (BIT_VEC64_TEST_BIT(o->pool_mirror, idx)) { |