From: Sachin Kamat Date: Fri, 20 Jun 2014 09:02:33 +0000 (+0530) Subject: thunderbolt: Use NULL instead of 0 in nhi.c X-Git-Tag: v3.17-rc1~125^2~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19b72c6e8bb0bc257d09da6e324841d27a68528;p=thirdparty%2Fkernel%2Flinux.git thunderbolt: Use NULL instead of 0 in nhi.c 'descriptors' is a pointer. Use NULL isntead of 0. Signed-off-by: Sachin Kamat Acked-by: Andreas Noever Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c index 346b41e7d5d17..0fc137af89f56 100644 --- a/drivers/thunderbolt/nhi.c +++ b/drivers/thunderbolt/nhi.c @@ -416,7 +416,7 @@ void ring_free(struct tb_ring *ring) ring->size * sizeof(*ring->descriptors), ring->descriptors, ring->descriptors_dma); - ring->descriptors = 0; + ring->descriptors = NULL; ring->descriptors_dma = 0;