diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-06-20 14:32:33 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-20 09:44:42 -0700 |
commit | f19b72c6e8bb0bc257d09da6e324841d27a68528 (patch) | |
tree | a1b40350227d7af8a1c663a31384defd29aaf164 /drivers/thunderbolt | |
parent | 8db353bdd0975c220a62091f4fd28966478550fb (diff) | |
download | blackbird-op-linux-f19b72c6e8bb0bc257d09da6e324841d27a68528.tar.gz blackbird-op-linux-f19b72c6e8bb0bc257d09da6e324841d27a68528.zip |
thunderbolt: Use NULL instead of 0 in nhi.c
'descriptors' is a pointer. Use NULL isntead of 0.
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt')
-rw-r--r-- | drivers/thunderbolt/nhi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c index 346b41e7d5d1..0fc137af89f5 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; |