diff options
| author | Dan Carpenter <[email protected]> | 2021-01-25 08:45:37 +0000 |
|---|---|---|
| committer | Zack Rusin <[email protected]> | 2021-01-28 16:08:20 +0000 |
| commit | f3ebd4e6b692ab7af464561410a1f05dfc850823 (patch) | |
| tree | 603753b794ef84785c3b16ef361102cdaa498e74 /drivers/gpu/drm/lima/lima_sched.c | |
| parent | dt-binding: display: bcm2711-hdmi: Add CEC and hotplug interrupts (diff) | |
| download | kernel-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
