Commit 041916a7 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Daniel Vetter

dma-buf/sync_file: fix build warning with context format type

Christian König changed fence context to a u64 type, so we need to
update all users accordingly.
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Acked-by: default avatarSumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1464968791-4564-1-git-send-email-gustavo@padovan.org
parent 490d3d1b
...@@ -82,7 +82,7 @@ struct sync_file *sync_file_create(struct fence *fence) ...@@ -82,7 +82,7 @@ struct sync_file *sync_file_create(struct fence *fence)
sync_file->num_fences = 1; sync_file->num_fences = 1;
atomic_set(&sync_file->status, 1); atomic_set(&sync_file->status, 1);
snprintf(sync_file->name, sizeof(sync_file->name), "%s-%s%d-%d", snprintf(sync_file->name, sizeof(sync_file->name), "%s-%s%llu-%d",
fence->ops->get_driver_name(fence), fence->ops->get_driver_name(fence),
fence->ops->get_timeline_name(fence), fence->context, fence->ops->get_timeline_name(fence), fence->context,
fence->seqno); fence->seqno);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment