diff options
author | Mustafa Ismail <mustafa.ismail@intel.com> | 2016-08-23 02:01:47 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-24 17:25:34 +0200 |
commit | 7eaf8313b1cfe93417a22bdc3f7380cac2a3dc6d (patch) | |
tree | e1b47dcc88e26ab30f658651c1a681056f1e13c0 /drivers/nvdimm | |
parent | i40iw: Add missing NULL check for MPA private data (diff) | |
download | linux-7eaf8313b1cfe93417a22bdc3f7380cac2a3dc6d.tar.xz linux-7eaf8313b1cfe93417a22bdc3f7380cac2a3dc6d.zip |
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 <sassmann@redhat.com>
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions