Skip to content

Commit

Permalink
dma-buf/sync_file: fix build warning with context format type
Browse files Browse the repository at this point in the history
Christian König changed fence context to a u64 type, so we need to
update all users accordingly.

Signed-off-by: Gustavo Padovan <[email protected]>
Acked-by: Sumit Semwal <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
Gustavo Padovan authored and danvet committed Jun 3, 2016
1 parent 490d3d1 commit 041916a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma-buf/sync_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct sync_file *sync_file_create(struct fence *fence)

sync_file->num_fences = 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_timeline_name(fence), fence->context,
fence->seqno);
Expand Down

0 comments on commit 041916a

Please sign in to comment.