linux/drivers/vfio/platform
Zhang Qilong a945da6180 vfio: platform: fix reference leak in vfio_platform_open
[ Upstream commit bb742ad019 ]

pm_runtime_get_sync() will increment pm usage counter even it
failed. Forgetting to call pm_runtime_put will result in
reference leak in vfio_platform_open, so we should fix it.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Acked-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-18 19:18:46 +01:00
..
reset VFIO Updates for Linux v4.15 2017-11-14 16:47:47 -08:00
Kconfig VFIO: platform: enable ARM64 build 2015-06-22 09:35:47 -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: constify amba_id 2017-08-30 14:03:42 -06:00
vfio_platform_common.c vfio: platform: fix reference leak in vfio_platform_open 2020-11-18 19:18:46 +01:00
vfio_platform_irq.c VFIO: platform: clear IRQ_NOAUTOEN when de-assigning the IRQ 2015-10-27 15:02:53 -06:00
vfio_platform_private.h vfio, platform: make reset driver a requirement by default 2016-07-19 10:26:46 -06:00
vfio_platform.c vfio, platform: make reset driver a requirement by default 2016-07-19 10:26:46 -06:00