projects
/
platform
/
adaptation
/
broadcom
/
libtbm-vc4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f359906
)
corret argument of memset
23/128223/4
accepted/tizen/unified/20170508.153437
submit/tizen/20170508.094936
tizen_4.0.m1_release
author
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 8 May 2017 05:58:52 +0000
(14:58 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Mon, 8 May 2017 06:31:15 +0000
(06:31 +0000)
Change-Id: I48fcad6bfb4be5212cd3014d0b5260e8afa01f2c
src/tbm_bufmgr_vc4.c
patch
|
blob
|
history
diff --git
a/src/tbm_bufmgr_vc4.c
b/src/tbm_bufmgr_vc4.c
index
ddb26ca
..
9b5782f
100644
(file)
--- a/
src/tbm_bufmgr_vc4.c
+++ b/
src/tbm_bufmgr_vc4.c
@@
-1252,7
+1252,7
@@
tbm_vc4_bo_import_fd(tbm_bo bo, tbm_fd key)
}
struct drm_gem_close close_arg = {0, };
- memset(&arg, 0, sizeof(close_arg));
+ memset(&
close_
arg, 0, sizeof(close_arg));
close_arg.handle = open_arg.handle;
if (drmIoctl(bufmgr_vc4->fd, DRM_IOCTL_GEM_CLOSE, &close_arg)) {
TBM_VC4_ERROR("Cannot close gem_handle (%d)\n", open_arg.handle,