diff mbox

[14/17] nes: use NULL instead of 0 for NULL pointers

Message ID 1476388576-22863-15-git-send-email-hch@lst.de (mailing list archive)
State Accepted
Headers show

Commit Message

Christoph Hellwig Oct. 13, 2016, 7:56 p.m. UTC
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 providers/nes/nes_uverbs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/providers/nes/nes_uverbs.c b/providers/nes/nes_uverbs.c
index f404ffd..7e7bb90 100644
--- a/providers/nes/nes_uverbs.c
+++ b/providers/nes/nes_uverbs.c
@@ -324,7 +324,7 @@  int nes_ima_upoll_cq(struct ibv_cq *cq, int num_entries, struct ibv_wc *entry)
 	uint32_t head;
 	uint32_t cq_size;
 
-	volatile struct nes_hw_nic_cqe *cqe = 0;
+	volatile struct nes_hw_nic_cqe *cqe = NULL;
 	volatile struct nes_hw_nic_cqe *cqes;
 
 	struct nes_uqp *nesuqp = nesucq->udqp;