aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorZhu Lingshan <[email protected]>2022-11-25 22:57:22 +0800
committerMichael S. Tsirkin <[email protected]>2023-02-20 19:26:55 -0500
commit93139037b582134deb1ed894bbc4bc1d34ff35e7 (patch)
tree41165b04f25326aaaf8763ffa64b819f709e8ffb /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parent6a3b2f179b49f2c6452ecc37b4778a43848b454c (diff)
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 <[email protected]> Cc: [email protected] Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions