linux-stable/drivers/vfio/platform
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
..
reset vfio/platform: Fix spelling mistake "registe" -> "register" 2021-04-06 11:53:50 -06:00
Kconfig ARM: amba: Allow some ARM_AMBA users to compile with COMPILE_TEST 2021-03-16 10:39:28 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vfio_amba.c vfio/platform: Use vfio_init/register/unregister_group_dev 2021-04-06 11:55:10 -06:00
vfio_platform.c vfio/platform: Use vfio_init/register/unregister_group_dev 2021-04-06 11:55:10 -06:00
vfio_platform_common.c vfio/platform: fix module_put call in error flow 2021-05-24 13:40:13 -06:00
vfio_platform_irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
vfio_platform_private.h vfio/platform: Use vfio_init/register/unregister_group_dev 2021-04-06 11:55:10 -06:00