diff options
| author | Mustafa Ismail <[email protected]> | 2016-08-22 19:01:47 -0500 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-08-24 11:25:34 -0400 |
| commit | 7eaf8313b1cfe93417a22bdc3f7380cac2a3dc6d (patch) | |
| tree | e1b47dcc88e26ab30f658651c1a681056f1e13c0 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 5dfd5e5e3bc68ab3912acc712c8180942094fc69 (diff) | |
i40iw: Do not set self-referencing pointer to NULL after kfree
In i40iw_free_virt_mem(), do not set mem->va to NULL
after freeing it as mem->va is a self-referencing pointer
to mem.
Fixes: 4e9042e647ff ("i40iw: add hw and utils files")
Reported-by: Stefan Assmann <[email protected]>
Signed-off-by: Mustafa Ismail <[email protected]>
Signed-off-by: Shiraz Saleem <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions