diff options
| author | 2020-10-31 11:03:53 +0800 | |
|---|---|---|
| committer | 2020-11-03 11:07:40 -0700 | |
| commit | bb742ad01961a3b9d1f9d19375487b879668b6b2 (patch) | |
| tree | 70641145617ec44524867375c5642f4c140c323e /scripts/gdb/linux/proc.py | |
| parent | vfio/pci: Implement ioeventfd thread handler for contended memory lock (diff) | |
| download | wireguard-linux-bb742ad01961a3b9d1f9d19375487b879668b6b2.tar.xz wireguard-linux-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 <zhangqilong3@huawei.com>
Acked-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
