Re: [PATCH] drm/amdgpu/virt: fix double kfree on bo_va

2017-02-08 Thread Alex Deucher
On Fri, Feb 3, 2017 at 3:23 PM, Colin King wrote: > From: Colin Ian King > > bo_va is being kfree'd twice, once in the call to amdgpu_vm_bo_rmv > and then a short while later. Fix this double free by removing > the 2nd kfree. > > Detected by CoverityScan, CID#1399524 ("Double Free") > > Signed-of

答复: [PATCH] drm/amdgpu/virt: fix double kfree on bo_va

2017-02-03 Thread Liu, Monk
...@vger.kernel.org; linux-ker...@vger.kernel.org 主题: [PATCH] drm/amdgpu/virt: fix double kfree on bo_va From: Colin Ian King bo_va is being kfree'd twice, once in the call to amdgpu_vm_bo_rmv and then a short while later. Fix this double free by removing the 2nd kfree. Detected by CoverityScan

[PATCH] drm/amdgpu/virt: fix double kfree on bo_va

2017-02-03 Thread Colin King
From: Colin Ian King bo_va is being kfree'd twice, once in the call to amdgpu_vm_bo_rmv and then a short while later. Fix this double free by removing the 2nd kfree. Detected by CoverityScan, CID#1399524 ("Double Free") Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.