diff options
author | Philipp Stanner <[email protected]> | 2024-06-13 13:50:26 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-07-11 16:20:15 -0500 |
commit | f00059b4c1b068df108c70f86749b23f9080d2ba (patch) | |
tree | 0e708ae97c53dd45a0eac4d283796bfa1a7b3eda /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ad78e05d654567e0a96f91d5db198469ddc2d4fb (diff) |
drm/vboxvideo: fix mapping leaks
When the PCI devres API was introduced to this driver, it was wrongly
assumed that initializing the device with pcim_enable_device() instead of
pci_enable_device() will make all PCI functions managed.
This is wrong and was caused by the quite confusing PCI devres API in which
some, but not all, functions become managed that way.
The function pci_iomap_range() is never managed.
Replace pci_iomap_range() with the managed function pcim_iomap_range().
Fixes: 8558de401b5f ("drm/vboxvideo: use managed pci functions")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Stanner <[email protected]>
Signed-off-by: Krzysztof WilczyĆski <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions