summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMax Gurtovoy <mgurtovoy@nvidia.com>2021-05-18 22:21:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-10 12:41:35 +0200
commit2edd6b6087af0301b052799342fd97b80480fd77 (patch)
tree9eaf3d583ef0dde277b9b7b2e41869e3ed51dcea /tools/perf/scripts/python
parent20abdd924dc7845eabfb7c8bb18a61c1e237e499 (diff)
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: 32a2d71c4e80 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions