i40iw: Fix return codes
authorShiraz Saleem <shiraz.saleem@intel.com>
Tue, 12 Jul 2016 16:48:39 +0000 (11:48 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 18:17:38 +0000 (14:17 -0400)
commitfe5d6e625df0f7cc132f7f6bf23414e29d361289
treeb61b9e0e7dbdde70ff66ad1f121dde08d39f39f7
parentfb92d8fb1b9c2de7d7d50c199e6d3020544702e8
i40iw: Fix return codes

Fix incorrect usage of ENOSYS and other return codes.

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