]> git.karo-electronics.de Git - linux-beck.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)
commit5c1c1908c124b0be65432177cfcba99a5044fe79
tree2fd07bf3b0bdc067784bd0b8df6aa4690b78cf52
parentf69c3331624438321877083e27f5aa09eab3b863
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