android_kernel_motorola_sm6375/drivers/vfio
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Max Gurtovoy 087b803a5b vfio/platform: fix module_put call in error flow
[ Upstream commit dc51ff91cf2d1e9a2d941da483602f71d4a51472 ]

The ->parent_module is the one that use in try_module_get. It should
also be the one the we use in module_put during vfio_platform_open().

Fixes: 32a2d71c4e ("vfio: platform: introduce vfio-platform-base module")
Signed-off-by: Max Gurtovoy <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-06-10 13:37:03 +02:00
..
mdev vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer 2021-05-14 09:44:24 +02:00
pci vfio/pci: zap_vma_ptes() needs MMU 2021-06-10 13:37:03 +02:00
platform vfio/platform: fix module_put call in error flow 2021-06-10 13:37:03 +02:00
Kconfig vfio: Depend on MMU 2021-05-07 10:51:38 +02:00
Makefile
vfio.c
vfio_iommu_spapr_tce.c
vfio_iommu_type1.c vfio/type1: Use follow_pte() 2021-03-04 10:26:38 +01:00
vfio_spapr_eeh.c
virqfd.c