projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0734905
)
freedreno: Quiet compiler warnings on 64-bit.
author
Eric Anholt
<eric@anholt.net>
Fri, 10 May 2019 00:26:44 +0000
(17:26 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 13 May 2019 22:37:01 +0000
(15:37 -0700)
__u64 is a ulonglong on x86_64, not uint64_t, so my gcc was complaining
about the wrong type being passed in.
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/drm/msm_priv.h
patch
|
blob
|
history
diff --git
a/src/freedreno/drm/msm_priv.h
b/src/freedreno/drm/msm_priv.h
index 27f43d1c4ee339230b55f6e017b1fb8668061b1f..44fb777f988af9f7d853e16baa7cd13fd7ab333f 100644
(file)
--- a/
src/freedreno/drm/msm_priv.h
+++ b/
src/freedreno/drm/msm_priv.h
@@
-98,7
+98,7
@@
msm_dump_submit(struct drm_msm_gem_submit *req)
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,
- r->reloc_idx, r->reloc_offset);
+ r->reloc_idx,
(uint64_t)
r->reloc_offset);
}
}
}