RDMA/ocrdma: Use NULL instead of 0 to represent a pointer
authorBart Van Assche <[email protected]>
Wed, 11 Oct 2017 17:49:13 +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: Selvin Xavier <[email protected]>
Cc: Devesh Sharma <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/ocrdma/ocrdma_hw.c

index 8e2e9bcf1916f8716400521e7b33b78c61536269..eaacb71b0bff4d7f43e9226247bfd07ae8bfbb8b 100644 (file)
@@ -3186,7 +3186,7 @@ void ocrdma_eqd_set_task(struct work_struct *work)
 {
        struct ocrdma_dev *dev =
                container_of(work, struct ocrdma_dev, eqd_work.work);
-       struct ocrdma_eq *eq = 0;
+       struct ocrdma_eq *eq = NULL;
        int i, num = 0, status = -EINVAL;
        u64 eq_intr;