projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a525601
)
vc4: Fix compiler warning from size_t change.
author
Eric Anholt
<eric@anholt.net>
Mon, 7 Dec 2015 20:24:46 +0000
(12:24 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 8 Dec 2015 17:49:50 +0000
(09:49 -0800)
I missed this when bringing over the kernel changes.
src/gallium/drivers/vc4/kernel/vc4_validate.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/kernel/vc4_validate.c
b/src/gallium/drivers/vc4/kernel/vc4_validate.c
index a50e9c382616654b17de9be45c7a922c5ac81d4c..8dbb46cea859cb13a7e3ba9cb4bbfac491e885e8 100644
(file)
--- a/
src/gallium/drivers/vc4/kernel/vc4_validate.c
+++ b/
src/gallium/drivers/vc4/kernel/vc4_validate.c
@@
-860,7
+860,7
@@
validate_gl_shader_rec(struct drm_device *dev,
if (vbo->base.size < offset ||
vbo->base.size - offset < attr_size) {
- DRM_ERROR("BO offset overflow (%d + %d > %d)\n",
+ DRM_ERROR("BO offset overflow (%d + %d > %
z
d)\n",
offset, attr_size, vbo->base.size);
return -EINVAL;
}