OSDN Git Service

test/amdgpu: add proper error handling v2
authorChristian König <christian.koenig@amd.com>
Fri, 14 Sep 2018 13:04:38 +0000 (15:04 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 18 Sep 2018 12:56:22 +0000 (14:56 +0200)
commit864d4501b95837d225eeca9b6e3ff3925baef063
treec1a3822a1741fa7f3a5db8b3ada9941a37a2a491
parentc40bd3cbf8002edec94ef7d6275db192b4ecc53b
test/amdgpu: add proper error handling v2

Otherwise the calling function won't notice that something is wrong.

v2: check map result as well

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
tests/amdgpu/amdgpu_test.h