summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_plane.c
diff options
context:
space:
mode:
authorJeremy Cline <jcline@redhat.com>2021-01-11 17:40:33 +0100
committerChristian König <christian.koenig@amd.com>2021-01-11 21:18:27 +0100
commit843010a815e87b45fc6b64848f02e42f6aee3f22 (patch)
treebfb44b94d262dc148fd279faf49c0f36289275a9 /drivers/gpu/drm/drm_plane.c
parentdma-buf: cma_heap: Fix memory leak in CMA heap (diff)
downloadlinux-843010a815e87b45fc6b64848f02e42f6aee3f22.tar.xz
linux-843010a815e87b45fc6b64848f02e42f6aee3f22.zip
drm/ttm: Fix address passed to dma_mapping_error() in ttm_pool_map()
check_unmap() is producing a warning about a missing map error check. The return value from dma_map_page() should be checked for an error, not the caller-provided dma_addr. Fixes: d099fc8f540a ("drm/ttm: new TT backend allocation pool v3") Signed-off-by: Jeremy Cline <jcline@redhat.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/413432/ Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_plane.c')
0 files changed, 0 insertions, 0 deletions