diff options
author | 2021-09-21 09:11:59 -0300 | |
---|---|---|
committer | 2021-09-24 10:04:44 -0600 | |
commit | 42de956ca7e5f6c47048dde640f797e783b23198 (patch) | |
tree | 71da11dcee8f94f38baf678d5f8591b1990e52bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vfio/pci: add missing identifier name in argument of function prototype (diff) | |
download | wireguard-linux-42de956ca7e5f6c47048dde640f797e783b23198.tar.xz wireguard-linux-42de956ca7e5f6c47048dde640f797e783b23198.zip |
vfio/ap_ops: Add missed vfio_uninit_group_dev()
Without this call an xarray entry is leaked when the vfio_ap device is
unprobed. It was missed when the below patch was rebased across the
dev_set patch. Keep the remove function in the same order as the error
unwind in probe.
Fixes: eb0feefd4c02 ("vfio/ap_ops: Convert to use vfio_register_group_dev()")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Tony Krowiak <akrowiak@linux.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Link: https://lore.kernel.org/r/0-v3-f9b50340cdbb+e4-ap_uninit_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions