WSL2-Linux-Kernel/drivers/vfio
Max Gurtovoy dc51ff91cf vfio/platform: fix module_put call in error flow
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 <mgurtovoy@nvidia.com>
Message-Id: <20210518192133.59195-1-mgurtovoy@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2021-05-24 13:40:13 -06:00
..
fsl-mc vfio: Remove device_data from the vfio bus driver API 2021-04-06 11:55:11 -06:00
mdev vfio/mdev: Correct the function signatures for the mdev_type_attributes 2021-04-12 10:36:00 -06:00
pci vfio/pci: zap_vma_ptes() needs MMU 2021-05-24 13:40:13 -06:00
platform vfio/platform: fix module_put call in error flow 2021-05-24 13:40:13 -06:00
Kconfig vfio: Depend on MMU 2021-03-16 10:39:28 -06:00
Makefile vfio/fsl-mc: Add VFIO framework skeleton for fsl-mc devices 2020-10-07 14:17:33 -06:00
vfio.c vfio: Remove device_data from the vfio bus driver API 2021-04-06 11:55:11 -06:00
vfio_iommu_spapr_tce.c vfio/spapr_tce: convert get_user_pages() --> pin_user_pages() 2020-07-27 13:43:38 -06:00
vfio_iommu_type1.c vfio/iommu_type1: Use struct_size() for kzalloc() 2021-05-24 13:40:13 -06:00
vfio_spapr_eeh.c
virqfd.c vfio/virqfd: Drain events from eventfd in virqfd_wakeup() 2020-11-15 09:49:10 -05:00