diff options
| author | Zhang Qilong <[email protected]> | 2020-10-31 03:03:53 +0000 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2020-11-03 18:07:40 +0000 |
| commit | bb742ad01961a3b9d1f9d19375487b879668b6b2 (patch) | |
| tree | 70641145617ec44524867375c5642f4c140c323e /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | vfio/pci: Implement ioeventfd thread handler for contended memory lock (diff) | |
| download | kernel-bb742ad01961a3b9d1f9d19375487b879668b6b2.tar.gz kernel-bb742ad01961a3b9d1f9d19375487b879668b6b2.zip | |
vfio: platform: fix reference leak in vfio_platform_open
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 <[email protected]>
Acked-by: Eric Auger <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
