commit | cb8ce25d1f09809715886de491924507e516e0c7 | [log] [tgz] |
---|---|---|
author | Jack Zhang <Jack.Zhang1@amd.com> | Wed Apr 01 20:06:58 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 24 08:01:21 2020 +0200 |
tree | e2c6a3da98a1d722417b01680e8eb3976d7c454a | |
parent | 8f0f235c52494fa43305aa659fe309bd6bc29767 [diff] |
drm/amdkfd: kfree the wrong pointer [ Upstream commit 3148a6a0ef3cf93570f30a477292768f7eb5d3c3 ] Originally, it kfrees the wrong pointer for mem_obj. It would cause memory leak under stress test. Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com> Acked-by: Nirmoy Das <nirmoy.das@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>