We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c56b593 commit b7f406bCopy full SHA for b7f406b
drivers/infiniband/hw/mlx5/odp.c
@@ -1771,7 +1771,7 @@ static void mlx5_ib_prefetch_mr_work(struct work_struct *work)
1771
1772
num_pending_prefetch_dec(to_mdev(w->pd->device), w->sg_list,
1773
w->num_sge, 0);
1774
- kfree(w);
+ kvfree(w);
1775
}
1776
1777
int mlx5_ib_advise_mr_prefetch(struct ib_pd *pd,
@@ -1813,7 +1813,7 @@ int mlx5_ib_advise_mr_prefetch(struct ib_pd *pd,
1813
if (valid_req)
1814
queue_work(system_unbound_wq, &work->work);
1815
else
1816
- kfree(work);
+ kvfree(work);
1817
1818
srcu_read_unlock(&dev->mr_srcu, srcu_key);
1819
0 commit comments