summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/irdma/ws.h
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2022-02-17 16:18:49 +0100
committerJason Gunthorpe <jgg@nvidia.com>2022-02-23 20:24:18 +0100
commit2c4b14ea9507106c0599349fbb8efdeb3b7aa840 (patch)
treec3c7a7a79d2101fad7bf94e9725d454d652c2e39 /drivers/infiniband/hw/irdma/ws.h
parentRDMA/ib_srp: Add more documentation (diff)
downloadlinux-2c4b14ea9507106c0599349fbb8efdeb3b7aa840.tar.xz
linux-2c4b14ea9507106c0599349fbb8efdeb3b7aa840.zip
RDMA/irdma: Remove enum irdma_status_code
Replace use of custom irdma_status_code with linux error codes. Remove enum irdma_status_code and header in which its defined. Link: https://lore.kernel.org/r/20220217151851.1518-2-shiraz.saleem@intel.com Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/irdma/ws.h')
-rw-r--r--drivers/infiniband/hw/irdma/ws.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/irdma/ws.h b/drivers/infiniband/hw/irdma/ws.h
index f0e16f630701..d431e3327d26 100644
--- a/drivers/infiniband/hw/irdma/ws.h
+++ b/drivers/infiniband/hw/irdma/ws.h
@@ -34,7 +34,7 @@ struct irdma_ws_node {
};
struct irdma_sc_vsi;
-enum irdma_status_code irdma_ws_add(struct irdma_sc_vsi *vsi, u8 user_pri);
+int irdma_ws_add(struct irdma_sc_vsi *vsi, u8 user_pri);
void irdma_ws_remove(struct irdma_sc_vsi *vsi, u8 user_pri);
void irdma_ws_reset(struct irdma_sc_vsi *vsi);