Re: [PATCH] drm/amd/amdgpu: validate the shadow BO.

2016-12-01 Thread Michel Dänzer
On 02/12/16 01:21 AM, Alex Deucher wrote: > From: Alex Xie > > Fixes a rare NULL pointer dereference in amdgpu_ttm_bind. > > The issue was found by Nicolai Haehnle. > The patch was tested by Nicolai Haehnle. Just as a suggestion for next time, this can be simplified to Reported-and-Tested-by:

[PATCH] drm/amd/amdgpu: validate the shadow BO.

2016-12-01 Thread Alex Deucher
From: Alex Xie Fixes a rare NULL pointer dereference in amdgpu_ttm_bind. The issue was found by Nicolai Haehnle. The patch was tested by Nicolai Haehnle. Signed-off-by: Alex Xie Reviewed-by: Chunming Zhou Reviewed-by: Christian König Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --