diff options
author | Dan Carpenter <[email protected]> | 2021-01-25 11:45:37 +0300 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2021-02-09 17:14:11 +0100 |
commit | 78e4ba40f1c1693d2c839e99130cba420454bc57 (patch) | |
tree | b0fdd589bd696baf2633e45bc8552ba7209689e7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6ff92deff711e6e5f8161c4934320d18d609edf8 (diff) |
drm/vmwgfx/vmwgfx_drv: Fix an error path in vmw_setup_pci_resources()
The devm_memremap() function never returns NULL, it returns error
pointers so the test needs to be fixed. Also we need to call
pci_release_regions() to avoid a memory leak.
Fixes: be4f77ac6884 ("drm/vmwgfx: Cleanup fifo mmio handling")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Zack Rusin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/YA6FMboLhnE3uSvb@mwanda
(cherry picked from commit f3ebd4e6b692ab7af464561410a1f05dfc850823)
Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions