OSDN Git Service

amdgpu: check parameters in amdgpu_query_gpu_info
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Oct 2016 20:56:13 +0000 (16:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 31 Oct 2016 20:37:10 +0000 (16:37 -0400)
commit6493860d70b4b1bc4b7327dbb8b951643413a0ae
tree87cfef70047b604d51417ab48de02d6d09e588cb
parentfe4579e263c8da19f790cc5c5430e12d9b1687b5
amdgpu: check parameters in amdgpu_query_gpu_info

Make sure they aren't NULL.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=97993

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