]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
RDMA/qedr: Use NULL instead of 0 to represent a pointer
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:49:16 +0000 (10:49 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 15 Oct 2017 00:47:07 +0000 (20:47 -0400)
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Ram Amrani <Ram.Amrani@cavium.com>
Cc: Michal Kalderon <Michal.Kalderon@cavium.com>
Cc: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
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,