projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b39a8e
)
amdgpu: fix a valgrind warning
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 6 May 2015 16:59:02 +0000
(18:59 +0200)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 5 Aug 2015 17:47:49 +0000
(13:47 -0400)
==10307== Conditional jump or move depends on uninitialised value(s)
==10307== at 0xB9F4CFA: amdgpu_device_initialize (amdgpu_device.c:193)
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
amdgpu/amdgpu_device.c
patch
|
blob
|
history
diff --git
a/amdgpu/amdgpu_device.c
b/amdgpu/amdgpu_device.c
index
b50ce26
..
048a909
100644
(file)
--- a/
amdgpu/amdgpu_device.c
+++ b/
amdgpu/amdgpu_device.c
@@
-133,7
+133,7
@@
int amdgpu_device_initialize(int fd,
int r;
int flag_auth = 0;
int flag_authexist=0;
- uint32_t accel_working;
+ uint32_t accel_working
= 0
;
*device_handle = NULL;