RDMA/qedr: Use NULL instead of 0 to represent a pointer
authorBart Van Assche <[email protected]>
Wed, 11 Oct 2017 17:49:16 +0000 (10:49 -0700)
committerDoug Ledford <[email protected]>
Sun, 15 Oct 2017 00:47:07 +0000 (20:47 -0400)
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Ram Amrani <[email protected]>
Cc: Michal Kalderon <[email protected]>
Cc: Ariel Elior <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/qedr/qedr_roce_cm.c

index c3c249ba62b82acd329cc5896ef579dfcd9e7dfc..2a0346678dddd13fca437d60c82696f27a48cce3 100644 (file)
@@ -660,7 +660,7 @@ int qedr_gsi_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
                                                  dev->gsi_ll2_handle,
                                                  wr->sg_list[0].addr,
                                                  wr->sg_list[0].length,
-                                                 0 /* cookie */,
+                                                 NULL /* cookie */,
                                                  1 /* notify_fw */);
                if (rc) {
                        DP_ERR(dev,