Re: [PATCH libdrm 2/3] test/amdgpu: add proper error handling

2018-09-17 Thread Zhang, Jerry(Junwei)
On 09/14/2018 09:09 PM, Christian König wrote: Otherwise the calling function won't notice that something is wrong. Signed-off-by: Christian König --- tests/amdgpu/amdgpu_test.h | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/tests/amdgpu/amdgpu_te

[PATCH libdrm 2/3] test/amdgpu: add proper error handling

2018-09-14 Thread Christian König
Otherwise the calling function won't notice that something is wrong. Signed-off-by: Christian König --- tests/amdgpu/amdgpu_test.h | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/tests/amdgpu/amdgpu_test.h b/tests/amdgpu/amdgpu_test.h index f2ece3c3..d