aboutsummaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorGravatar Dan Carpenter <dan.carpenter@oracle.com> 2021-01-25 11:45:37 +0300
committerGravatar Maarten Lankhorst <maarten.lankhorst@linux.intel.com> 2021-02-09 17:14:11 +0100
commit78e4ba40f1c1693d2c839e99130cba420454bc57 (patch)
treeb0fdd589bd696baf2633e45bc8552ba7209689e7 /include/drm
parentdt-binding: display: bcm2711-hdmi: Add CEC and hotplug interrupts (diff)
downloadlinux-78e4ba40f1c1693d2c839e99130cba420454bc57.tar.gz
linux-78e4ba40f1c1693d2c839e99130cba420454bc57.tar.bz2
linux-78e4ba40f1c1693d2c839e99130cba420454bc57.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 <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 'include/drm')
0 files changed, 0 insertions, 0 deletions