Commit 50002d4c authored by Inki Dae's avatar Inki Dae

drm/exynos: fix build warning to exynos_drm_gem.c

Signed-off-by: default avatarInki Dae <daeinki@gmail.com>
parent fbbb1e1a
...@@ -668,7 +668,7 @@ exynos_drm_gem_prime_import_sg_table(struct drm_device *dev, ...@@ -668,7 +668,7 @@ exynos_drm_gem_prime_import_sg_table(struct drm_device *dev,
exynos_gem_obj = exynos_drm_gem_init(dev, attach->dmabuf->size); exynos_gem_obj = exynos_drm_gem_init(dev, attach->dmabuf->size);
if (IS_ERR(exynos_gem_obj)) { if (IS_ERR(exynos_gem_obj)) {
ret = PTR_ERR(exynos_gem_obj); ret = PTR_ERR(exynos_gem_obj);
goto err; return ERR_PTR(ret);
} }
exynos_gem_obj->dma_addr = sg_dma_address(sgt->sgl); exynos_gem_obj->dma_addr = sg_dma_address(sgt->sgl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment