lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1573551689-23531-1-git-send-email-sw0312.kim@samsung.com>
Date:   Tue, 12 Nov 2019 18:41:29 +0900
From:   Seung-Woo Kim <sw0312.kim@...sung.com>
To:     linux-media@...r.kernel.org, dri-devel@...ts.freedesktop.org,
        linaro-mm-sig@...ts.linaro.org, linux-kernel@...r.kernel.org,
        sumit.semwal@...aro.org, gustavo@...ovan.org
Cc:     sw0312.kim@...sung.com
Subject: [PATCH] dma-buf/sw-sync: Use unsigned type for value of
 sync_timeline

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@...sung.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ