drm/amdgpu: fix mutex list null pointer reference
authorPixel Ding <Pixel.Ding@amd.com>
Tue, 25 Apr 2017 08:47:42 +0000 (16:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 May 2017 22:15:21 +0000 (18:15 -0400)
commitdb2c2a9798d266fd1d7c950b3937793b05533bf4
tree9646993993844fc8aed99c74f0c9d0ee635a58fc
parent7b52db39a4c27c0020ff953a4bb0aa8bbe55e4a2
drm/amdgpu: fix mutex list null pointer reference

Fix NULL pointer reference.

Signed-off-by: Pixel Ding <Pixel.Ding@amd.com>
Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c