summaryrefslogtreecommitdiff
path: root/arch/um/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-01-07 22:15:21 +0100
committerRichard Weinberger <richard@nod.at>2021-01-26 22:11:38 +0100
commitf4172b084342fd3f9e38c10650ffe19eac30d8ce (patch)
tree0ff37342dec431c0ad75dbf4405e1d6fc8943b41 /arch/um/include
parente23fe90dec286cd77e9059033aa640fc45603602 (diff)
um: virtio: free vu_dev only with the contained struct device
Since struct device is refcounted, we shouldn't free the vu_dev immediately when it's removed from the platform device, but only when the references actually all go away. Move the freeing to the release to accomplish that. Fixes: 5d38f324993f ("um: drivers: Add virtio vhost-user driver") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include')
0 files changed, 0 insertions, 0 deletions