summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorxinhui pan <xinhui.pan@amd.com>2019-03-19 06:16:32 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-03-28 06:39:29 +0300
commit73aa8e1a3a84609dce2b84391308017331cc8f24 (patch)
treeea1a54d44fe5dca042067f35f4d863d21ab19330 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent6c851417336af718587a83b27fbe83480c31fc2f (diff)
downloadlinux-73aa8e1a3a84609dce2b84391308017331cc8f24.tar.xz
drm/amdgpu: Fix some sanity check
ras context might be NULL, so move con->h_data after check !con also fix sizeof wrong type while at it. Signed-off-by: xinhui pan <xinhui.pan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions