]> git.karo-electronics.de Git - karo-tx-linux.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)
commitbe8822db62ddda6d316d2dd682679732ed2f0abf
treefc6b2abdf0d2aceee874e05b99d02b956ecded00
parentebc9ca43e1d52a85c72fc2d343f353386ed6c188
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