i915: Fix more size_t format string warnings
The DRI people seem to have a hard time getting these right (see also
commit aeb565dfc3
).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
ff7473300d
commit
f06da264cf
|
@ -1457,7 +1457,7 @@ static void i915_write_fence_reg(struct drm_i915_fence_reg *reg)
|
||||||
|
|
||||||
if ((obj_priv->gtt_offset & ~I915_FENCE_START_MASK) ||
|
if ((obj_priv->gtt_offset & ~I915_FENCE_START_MASK) ||
|
||||||
(obj_priv->gtt_offset & (obj->size - 1))) {
|
(obj_priv->gtt_offset & (obj->size - 1))) {
|
||||||
WARN(1, "%s: object 0x%08x not 1M or size (0x%x) aligned\n",
|
WARN(1, "%s: object 0x%08x not 1M or size (0x%zx) aligned\n",
|
||||||
__func__, obj_priv->gtt_offset, obj->size);
|
__func__, obj_priv->gtt_offset, obj->size);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue