linux-stable/drivers/vdpa/ifcvf
Jason Wang 9901e67572 vdpa: ifcvf: set pci driver data in probe
[ Upstream commit bd8bb9aed5 ]

We should set the pci driver data in probe instead of the vdpa device
adding callback. Otherwise if no vDPA device is created we will lose
the pointer to the management device.

Fixes: 6b5df347c6 ("vDPA/ifcvf: implement management netlink framework for ifcvf")
Tested-by: Zheyu Ma <zheyuma97@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220524055557.1938-1-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:41:24 +02:00
..
ifcvf_base.c ifcvf/vDPA: fix misuse virtio-net device config size for blk dev 2022-01-14 18:50:52 -05:00
ifcvf_base.h ifcvf/vDPA: fix misuse virtio-net device config size for blk dev 2022-01-14 18:50:52 -05:00
ifcvf_main.c vdpa: ifcvf: set pci driver data in probe 2022-06-14 18:41:24 +02:00
Makefile