]> 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)
commit90f836d0ee550f01d4d7966399a34f92906f6afc
treefc6b2abdf0d2aceee874e05b99d02b956ecded00
parent5cb5520776027fcccf7ab98407eb3f3b58c70bdb
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