[PATCH] dma-buf/sw-sync: Use unsigned type for value of sync_timeline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The value of sync_timeline is only incremented and all reference
usage of it is unsigned. Use unsigned type for value of
synctimeline.

Signed-off-by: Seung-Woo Kim <sw0312.kim@xxxxxxxxxxx>
---
 drivers/dma-buf/sync_debug.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/dma-buf/sync_debug.h b/drivers/dma-buf/sync_debug.h
index 6176e52..ff07f0b 100644
--- a/drivers/dma-buf/sync_debug.h
+++ b/drivers/dma-buf/sync_debug.h
@@ -36,7 +36,7 @@ struct sync_timeline {
 
 	/* protected by lock */
 	u64			context;
-	int			value;
+	unsigned int		value;
 
 	struct rb_root		pt_tree;
 	struct list_head	pt_list;
-- 
1.7.4.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux