mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
thunderbolt: Use NULL instead of 0 in nhi.c
'descriptors' is a pointer. Use NULL isntead of 0. Signed-off-by: Sachin Kamat <[email protected]> Acked-by: Andreas Noever <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
8db353bdd0
commit
f19b72c6e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue