[ewg] [PATCH 5/10 VNIC] Fix the ib_create_cq() call
Ramachandra K
ramachandra.kuchimanchi at qlogic.com
Tue Aug 21 07:24:49 PDT 2007
The ib_create_cq() call in VNIC had been incorrectly changed.
Fix the parameters in the ib_create_cq() call by setting the comp_vector parameter
to 0 instead of setting the comp_handler parameter to 0.
Signed-off-by: Ramachandra K <ramachandra.kuchimanchi at qlogic.com>
---
drivers/infiniband/ulp/vnic/vnic_ib.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/infiniband/ulp/vnic/vnic_ib.c b/drivers/infiniband/ulp/vnic/vnic_ib.c
index 569386f..9b0f63b 100644
--- a/drivers/infiniband/ulp/vnic/vnic_ib.c
+++ b/drivers/infiniband/ulp/vnic/vnic_ib.c
@@ -603,8 +603,8 @@ int vnic_ib_conn_init(struct vnic_ib_conn *ib_conn, struct viport *viport,
return -EINVAL;
}
- ib_conn->cq = ib_create_cq(viport_config->ibdev, 0, vnic_ib_completion,
- NULL, ib_conn, cq_size);
+ ib_conn->cq = ib_create_cq(viport_config->ibdev, vnic_ib_completion,
+ NULL, ib_conn, cq_size, 0);
if (IS_ERR(ib_conn->cq)) {
IB_ERROR("could not create CQ\n");
goto out;
More information about the ewg
mailing list