summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTri Vo <trong@google.com>2020-06-25 14:56:37 -0700
committerJ. Avila <elavila@google.com>2020-08-18 18:16:56 +0000
commit49899a71a14e65cde44707e7d7749b1b02b78714 (patch)
treeba0cc70939904942cd2feefbba81968818a09be9
parent9e4c362ab13b3dbe5a0b8e8b6a218bd6027cc91a (diff)
downloadtrusty-49899a71a14e65cde44707e7d7749b1b02b78714.tar.gz
ANDROID: trusty: Fix format specifiers in trusty-virtio.c
Bug: 164495900 Change-Id: Ieb4be5d62dbaf1c8461c526eef77ef6410f05174 Signed-off-by: Tri Vo <trong@google.com> Signed-off-by: J. Avila <elavila@google.com>
-rw-r--r--drivers/trusty/trusty-virtio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/trusty/trusty-virtio.c b/drivers/trusty/trusty-virtio.c
index 0e7ca68..8617c21 100644
--- a/drivers/trusty/trusty-virtio.c
+++ b/drivers/trusty/trusty-virtio.c
@@ -166,7 +166,7 @@ static int trusty_load_device_descr(struct trusty_ctx *tctx,
{
int ret;
- dev_dbg(tctx->dev, "%s: %zu bytes @ id %d\n", __func__, sz, id);
+ dev_dbg(tctx->dev, "%s: %zu bytes @ id %llu\n", __func__, sz, id);
ret = trusty_std_call32(tctx->dev->parent, SMC_SC_VIRTIO_GET_DESCR,
(u32)id, id >> 32, sz);
@@ -183,7 +183,7 @@ static void trusty_virtio_stop(struct trusty_ctx *tctx,
{
int ret;
- dev_dbg(tctx->dev, "%s: %zu bytes @ id %d\n", __func__, sz, id);
+ dev_dbg(tctx->dev, "%s: %zu bytes @ id %llu\n", __func__, sz, id);
ret = trusty_std_call32(tctx->dev->parent, SMC_SC_VIRTIO_STOP,
(u32)id, id >> 32, sz);
@@ -199,7 +199,7 @@ static int trusty_virtio_start(struct trusty_ctx *tctx,
{
int ret;
- dev_dbg(tctx->dev, "%s: %zu bytes @ id %d\n", __func__, sz, id);
+ dev_dbg(tctx->dev, "%s: %zu bytes @ id %llu\n", __func__, sz, id);
ret = trusty_std_call32(tctx->dev->parent, SMC_SC_VIRTIO_START,
(u32)id, id >> 32, sz);