summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-01-25 11:45:37 +0300
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2021-02-09 17:14:11 +0100
commit78e4ba40f1c1693d2c839e99130cba420454bc57 (patch)
treeb0fdd589bd696baf2633e45bc8552ba7209689e7 /drivers/gpu/drm/lima
parent6ff92deff711e6e5f8161c4934320d18d609edf8 (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 <dan.carpenter@oracle.com> Signed-off-by: Zack Rusin <zackr@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/YA6FMboLhnE3uSvb@mwanda (cherry picked from commit f3ebd4e6b692ab7af464561410a1f05dfc850823) Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/lima')
0 files changed, 0 insertions, 0 deletions