aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-01-25 08:45:37 +0000
committerZack Rusin <[email protected]>2021-01-28 16:08:20 +0000
commitf3ebd4e6b692ab7af464561410a1f05dfc850823 (patch)
tree603753b794ef84785c3b16ef361102cdaa498e74 /drivers/gpu/drm/lima/lima_sched.c
parentdt-binding: display: bcm2711-hdmi: Add CEC and hotplug interrupts (diff)
downloadkernel-f3ebd4e6b692ab7af464561410a1f05dfc850823.tar.gz
kernel-f3ebd4e6b692ab7af464561410a1f05dfc850823.zip
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
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions