summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorZhu Lingshan <lingshan.zhu@intel.com>2022-11-25 17:57:22 +0300
committerMichael S. Tsirkin <mst@redhat.com>2023-02-21 03:26:55 +0300
commit93139037b582134deb1ed894bbc4bc1d34ff35e7 (patch)
tree41165b04f25326aaaf8763ffa64b819f709e8ffb /mm
parent6a3b2f179b49f2c6452ecc37b4778a43848b454c (diff)
downloadlinux-93139037b582134deb1ed894bbc4bc1d34ff35e7.tar.xz
vDPA/ifcvf: allocate the adapter in dev_add()
The adapter is the container of the vdpa_device, this commits allocate the adapter in dev_add() rather than in probe(). So that the vdpa_device() could be re-created when the userspace creates the vdpa device, and free-ed in dev_del() Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com> Cc: stable@vger.kernel.org Message-Id: <20221125145724.1129962-11-lingshan.zhu@intel.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions