summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2021-02-22 20:13:59 +0900
committerHoegeun Kwon <hoegeun.kwon@samsung.com>2022-12-07 17:58:22 +0900
commit6867adebd5dd8aa5bfbcaac996bfb087d533f859 (patch)
tree0bc80483ece1c6df3b2da8b0b3e2b5eeaddd3d47
parentb9ca37b3134861048986b75896c0915cbf2e97f9 (diff)
downloadlibdrm-6867adebd5dd8aa5bfbcaac996bfb087d533f859.tar.gz
libdrm-6867adebd5dd8aa5bfbcaac996bfb087d533f859.tar.bz2
libdrm-6867adebd5dd8aa5bfbcaac996bfb087d533f859.zip
freedreno/msm: fix __u64 printing format
__u64 is always unsigned long long, so print with %llu instead of PRIu64 for uint64_t. Note: fix build warning in upstream. Change-Id: Ic88578b626cb7e05fb5829955e0d10cb77b1be2b Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--freedreno/msm/msm_ringbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freedreno/msm/msm_ringbuffer.c b/freedreno/msm/msm_ringbuffer.c
index 7b9df4a0..2762a205 100644
--- a/freedreno/msm/msm_ringbuffer.c
+++ b/freedreno/msm/msm_ringbuffer.c
@@ -408,7 +408,7 @@ static void dump_submit(struct msm_ringbuffer *msm_ring)
for (j = 0; j < cmd->nr_relocs; j++) {
struct drm_msm_gem_submit_reloc *r = &relocs[j];
ERROR_MSG(" reloc[%d]: submit_offset=%u, or=%08x, shift=%d, reloc_idx=%u"
- ", reloc_offset=%"PRIu64, j, r->submit_offset, r->or, r->shift,
+ ", reloc_offset=%llu", j, r->submit_offset, r->or, r->shift,
r->reloc_idx, r->reloc_offset);
}
}