From: Inki Dae Date: Sun, 30 Aug 2015 16:11:53 +0000 (+0900) Subject: drm/exynos: fix build warning to exynos_drm_gem.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=50002d4c2176da6b2ed5a2529a2367c05f0fd73b;p=linux-beck.git drm/exynos: fix build warning to exynos_drm_gem.c Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index 67461b77f040..62b9ea1b07fb 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c @@ -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); if (IS_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);