From f887ed20588f836d1c4a4a2b7b648d853810f9ff Mon Sep 17 00:00:00 2001 From: "hyesoo.yu" Date: Thu, 24 Aug 2017 10:20:20 +0900 Subject: [PATCH] Revert "[COMMON] g2d: fix unsigned datatype" This reverts commit 15ffb6b6f57e0e8152d3e0b647ae3454fbc8cb40. Change-Id: Ibdbdefc7e542290d335d2ea98a6881b5151c7880 Signed-off-by: hyesoo.yu --- drivers/gpu/exynos/g2d/g2d_fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/exynos/g2d/g2d_fence.c b/drivers/gpu/exynos/g2d/g2d_fence.c index a23bdccdddd0..7469dd3e74ce 100644 --- a/drivers/gpu/exynos/g2d/g2d_fence.c +++ b/drivers/gpu/exynos/g2d/g2d_fence.c @@ -176,7 +176,7 @@ struct sync_file *g2d_create_release_fence(struct g2d_device *g2d_dev, for (i = 0; i < data->num_release_fences; i++) { release_fences[i] = get_unused_fd_flags(O_CLOEXEC); - if ((int)release_fences[i] < 0) { + if (release_fences[i] < 0) { ret = release_fences[i]; while (i-- > 0) put_unused_fd(release_fences[i]); -- 2.20.1