test/amdgpu: fix compiler warnings
authorChristian König <christian.koenig@amd.com>
Sun, 7 Jan 2018 09:10:15 +0000 (10:10 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 9 Jan 2018 16:15:13 +0000 (17:15 +0100)
commitde807d1a740effe60da62d07dcfeae7c01012d15
treeee00cfc6833061ebdb1b9f9c8c37b50b1120189b
parent07ea20d5beb24315b721adf83bbfa72ce016e146
test/amdgpu: fix compiler warnings

SWAP_32() should mask first and then shift.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
tests/amdgpu/basic_tests.c