* [PATCH] dma-buf/sw-sync: Use unsigned type for value of sync_timeline
[not found] <CGME20191112093850epcas1p31a1201fcc86997add355a7b5aeabf305@epcas1p3.samsung.com>
@ 2019-11-12 9:41 ` Seung-Woo Kim
0 siblings, 0 replies; only message in thread
From: Seung-Woo Kim @ 2019-11-12 9:41 UTC (permalink / raw)
To: linux-media, dri-devel, linaro-mm-sig, linux-kernel,
sumit.semwal, gustavo
Cc: sw0312.kim
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@samsung.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-12 9:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20191112093850epcas1p31a1201fcc86997add355a7b5aeabf305@epcas1p3.samsung.com>
2019-11-12 9:41 ` [PATCH] dma-buf/sw-sync: Use unsigned type for value of sync_timeline Seung-Woo Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).