projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a847269
)
[COMMON] g2d: fix unsigned datatype
author
hyesoo.yu
<hyesoo.yu@samsung.com>
Wed, 16 Aug 2017 02:08:13 +0000
(11:08 +0900)
committer
Seungchul Kim
<sc377.kim@samsung.com>
Mon, 28 May 2018 05:27:43 +0000
(14:27 +0900)
'get_unused_fd_flags' is stored in unsigned datatype,
so could not be handled on error.
Change-Id: I9447fd5fd7ccb9d6cdb782607197ad24360058fc
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/gpu/exynos/g2d/g2d_fence.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/exynos/g2d/g2d_fence.c
b/drivers/gpu/exynos/g2d/g2d_fence.c
index 7469dd3e74ce672eb2e6541df2ac548ffa2bbbf9..d9f70e7ae79eb727a5bd0997ce521e54bb477360 100644
(file)
--- a/
drivers/gpu/exynos/g2d/g2d_fence.c
+++ b/
drivers/gpu/exynos/g2d/g2d_fence.c
@@
-147,7
+147,7
@@
struct sync_file *g2d_create_release_fence(struct g2d_device *g2d_dev,
{
struct dma_fence *fence;
struct sync_file *file;
-
u
32 release_fences[G2D_MAX_IMAGES + 1];
+
s
32 release_fences[G2D_MAX_IMAGES + 1];
unsigned int i;
int ret = 0;