OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f057dc9
)
test/amdgpu: don't free unused bo handle
author
Nirmoy Das
<nirmoy.das@amd.com>
Mon, 14 Oct 2019 14:53:36 +0000
(16:53 +0200)
committer
Nirmoy Das
<nirmoy.das@amd.com>
Tue, 15 Oct 2019 11:18:12 +0000
(13:18 +0200)
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
tests/amdgpu/bo_tests.c
patch
|
blob
|
history
diff --git
a/tests/amdgpu/bo_tests.c
b/tests/amdgpu/bo_tests.c
index
7cff4cf
..
4c11665
100644
(file)
--- a/
tests/amdgpu/bo_tests.c
+++ b/
tests/amdgpu/bo_tests.c
@@
-267,7
+267,6
@@
static void amdgpu_memory_alloc(void)
static void amdgpu_mem_fail_alloc(void)
{
- amdgpu_bo_handle bo;
int r;
struct amdgpu_bo_alloc_request req = {0};
amdgpu_bo_handle buf_handle;
@@
-282,7
+281,7
@@
static void amdgpu_mem_fail_alloc(void)
CU_ASSERT_EQUAL(r, -ENOMEM);
if (!r) {
- r = amdgpu_bo_free(b
o
);
+ r = amdgpu_bo_free(b
uf_handle
);
CU_ASSERT_EQUAL(r, 0);
}
}