freedreno/msm: fix __u64 printing format
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 22 Feb 2021 11:13:59 +0000 (20:13 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 4 Dec 2023 05:02:01 +0000 (14:02 +0900)
__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>
freedreno/msm/msm_ringbuffer.c

index 7b9df4a041afa68fedac6082d05c43c891c22e43..2762a2054602a256a8ece6b38ee25ac463a33ac5 100644 (file)
@@ -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);
                }
        }