diff options
author | Inki Dae <daeinki@gmail.com> | 2015-08-30 19:11:53 +0300 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-08-30 19:12:36 +0300 |
commit | 50002d4c2176da6b2ed5a2529a2367c05f0fd73b (patch) | |
tree | 1e5dba95f0d09bfe0626e760cd6ca8af014c6a18 /drivers/gpu/drm/exynos | |
parent | fbbb1e1a7f170cb560224d9694f1afd851bcf47f (diff) | |
download | linux-50002d4c2176da6b2ed5a2529a2367c05f0fd73b.tar.xz |
drm/exynos: fix build warning to exynos_drm_gem.c
Signed-off-by: Inki Dae <daeinki@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |