diff mbox

[16/17] mlx5: use NULL instead of 0 for NULL pointers

Message ID 1476388576-22863-17-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/mlx5/mlx5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/providers/mlx5/mlx5.c b/providers/mlx5/mlx5.c
index 4b05dc4..747e242 100644
--- a/providers/mlx5/mlx5.c
+++ b/providers/mlx5/mlx5.c
@@ -310,7 +310,7 @@  static void mlx5_local_cpu_set(struct ibv_device *ibdev, cpu_set_t *cpu_set)
 			p ++;
 		}
 
-		word = strtoul(p, 0, 16);
+		word = strtoul(p, NULL, 16);
 
 		for (k = 0; word; ++k, word >>= 1)
 			if (word & 1)