linux_dsm_epyc7002/arch/um
Johannes Berg 72c8389fc7 um: virtio: free vu_dev only with the contained struct device
[ Upstream commit f4172b084342fd3f9e38c10650ffe19eac30d8ce ]

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: 5d38f32499 ("um: drivers: Add virtio vhost-user driver")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-10 09:29:12 +01:00
..
configs
drivers um: virtio: free vu_dev only with the contained struct device 2021-02-10 09:29:12 +01:00
include um: Call pgtable_pmd_page_dtor() in __pmd_free_tlb() 2020-11-10 21:49:32 +01:00
kernel um: Fix time-travel mode 2020-12-30 11:54:17 +01:00
os-Linux um: Remove use of asprinf in umid.c 2020-12-30 11:54:17 +01:00
scripts
.gitignore
Kconfig
Kconfig.debug
Makefile
Makefile-os-Linux
Makefile-skas