projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vdp/mlx5: Fix setting the correct dma_device
[linux-2.6-microblaze.git]
/
drivers
/
vdpa
/
mlx5
/
net
/
mlx5_vnet.c
diff --git
a/drivers/vdpa/mlx5/net/mlx5_vnet.c
b/drivers/vdpa/mlx5/net/mlx5_vnet.c
index
01eb6c1
..
2b74e34
100644
(file)
--- a/
drivers/vdpa/mlx5/net/mlx5_vnet.c
+++ b/
drivers/vdpa/mlx5/net/mlx5_vnet.c
@@
-2032,7
+2032,7
@@
static int mlx5_vdpa_dev_add(struct vdpa_mgmt_dev *v_mdev, const char *name)
goto err_mtu;
}
- mvdev->vdev.dma_dev =
mdev->device
;
+ mvdev->vdev.dma_dev =
&mdev->pdev->dev
;
err = mlx5_vdpa_alloc_resources(&ndev->mvdev);
if (err)
goto err_mpfs;