i40iw: Correct status check on i40iw_get_pble
authorFaisal Latif <faisal.latif@intel.com>
Tue, 14 Jun 2016 21:54:17 +0000 (16:54 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 23 Jun 2016 14:35:34 +0000 (10:35 -0400)
commitee23abd75c5076e51061c275e8f659d754a63c9d
tree44ac91ce349d60d29bf2c697f068c68012d7007f
parent747f1c6d9be749a29612fc78c321b97099906008
i40iw: Correct status check on i40iw_get_pble

i40iw_get_pble returns 0 on success. Correct the check on return
code.

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c