]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Fix order of cleanup in close
authorMustafa Ismail <mustafa.ismail@intel.com>
Fri, 23 Jun 2017 21:03:55 +0000 (16:03 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Jul 2017 15:20:48 +0000 (11:20 -0400)
commit0c9f88ec64fe9433a102267e64ce8d3f608d483b
treefc6b2abdf0d2aceee874e05b99d02b956ecded00
parent44edcc0d2eeb8f2342cc5692a83ab6a52ee709c2
i40iw: Fix order of cleanup in close

The order for calling i40iw_destroy_pble_pool is incorrect.
Also, add PBLE_CHUNK_MEM init state to track pble pool
creation and destruction.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_main.c