All of lore.kernel.org
 help / color / mirror / Atom feed
From: Seung-Woo Kim <sw0312.kim@samsung.com>
To: linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org,
	sumit.semwal@linaro.org, gustavo@padovan.org
Cc: sw0312.kim@samsung.com
Subject: [PATCH] dma-buf/sw-sync: Use unsigned type for value of sync_timeline
Date: Tue, 12 Nov 2019 18:41:29 +0900	[thread overview]
Message-ID: <1573551689-23531-1-git-send-email-sw0312.kim@samsung.com> (raw)
In-Reply-To: CGME20191112093850epcas1p31a1201fcc86997add355a7b5aeabf305@epcas1p3.samsung.com

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


WARNING: multiple messages have this Message-ID (diff)
From: Seung-Woo Kim <sw0312.kim@samsung.com>
To: linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org,
	sumit.semwal@linaro.org, gustavo@padovan.org
Cc: sw0312.kim@samsung.com
Subject: [PATCH] dma-buf/sw-sync: Use unsigned type for value of sync_timeline
Date: Tue, 12 Nov 2019 18:41:29 +0900	[thread overview]
Message-ID: <1573551689-23531-1-git-send-email-sw0312.kim@samsung.com> (raw)
Message-ID: <20191112094129.vIOg4ms_uHAXXpfwe6kgS1gaUrGw6bTxxcclBq_GH18@z> (raw)
In-Reply-To: CGME20191112093850epcas1p31a1201fcc86997add355a7b5aeabf305@epcas1p3.samsung.com

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

       reply	other threads:[~2019-11-12  9:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20191112093850epcas1p31a1201fcc86997add355a7b5aeabf305@epcas1p3.samsung.com>
2019-11-12  9:41 ` Seung-Woo Kim [this message]
2019-11-12  9:41   ` [PATCH] dma-buf/sw-sync: Use unsigned type for value of sync_timeline Seung-Woo Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1573551689-23531-1-git-send-email-sw0312.kim@samsung.com \
    --to=sw0312.kim@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gustavo@padovan.org \
    --cc=linaro-mm-sig@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=sumit.semwal@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.