diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-10-11 20:49:13 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-15 03:47:07 +0300 |
commit | 69a840357df94f4bc2b658b49273fe452231e3c4 (patch) | |
tree | 93dee7ac7e1c5b598c3b7a885d09f4cfc3578a7b /drivers/infiniband/hw/ocrdma/ocrdma_hw.c | |
parent | 52adbb691484c175ca067917c858e16727b03cc9 (diff) | |
download | linux-69a840357df94f4bc2b658b49273fe452231e3c4.tar.xz |
RDMA/ocrdma: Use NULL instead of 0 to represent a pointer
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Selvin Xavier <selvin.xavier@broadcom.com>
Cc: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_hw.c')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c index 8e2e9bcf1916..eaacb71b0bff 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c +++ b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c @@ -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; |