RE: [PATCH 1/2] drm/amdgpu: avoid null pointer dereference

2019-09-17 Thread Zhou1, Tao
dzovsky, Andrey > Cc: Chen, Guchun > Subject: [PATCH 1/2] drm/amdgpu: avoid null pointer dereference > > null ptr should be checked first to avoid null ptr access > > Change-Id: I85c0a096eef77cad3a34265c995b1845451e04d0 > Signed-off-by: Guchun Chen > --- > drivers/gpu/drm/am

[PATCH 1/2] drm/amdgpu: avoid null pointer dereference

2019-09-17 Thread Chen, Guchun
null ptr should be checked first to avoid null ptr access Change-Id: I85c0a096eef77cad3a34265c995b1845451e04d0 Signed-off-by: Guchun Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b