]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/i40iw: Correct return code check in add_pble_pool
authorIsmail, Mustafa <mustafa.ismail@intel.com>
Mon, 18 Apr 2016 15:33:04 +0000 (10:33 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:54 +0000 (16:32 -0400)
commit7fc962093f7412c05f257d315b6f69babaf1aa97
tree2fd07bf3b0bdc067784bd0b8df6aa4690b78cf52
parent0a6d62cb0dcb6becadf9ed018325d40964845055
RDMA/i40iw: Correct return code check in add_pble_pool

Move return code check to immediately after i40iw_hmc_sd_one call
where it is set instead of outside the then statement.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_pble.c