diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-09 11:57:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-09 11:57:29 -0500 |
commit | f06da264cfb0f9444d41ca247213e419f90aa72a (patch) | |
tree | b333071e668dde9ac5ec5736e1902d5712711225 /drivers/gpu/drm/i915/i915_gem.c | |
parent | ff7473300d429118aa97368ba5a16bc63aecfc75 (diff) |
i915: Fix more size_t format string warnings
The DRI people seem to have a hard time getting these right (see also
commit aeb565dfc3ac4c8b47c5049085b4c7bfb2c7d5d7).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 1441831fa06e..818576654092 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c | |||
@@ -1457,7 +1457,7 @@ static void i915_write_fence_reg(struct drm_i915_fence_reg *reg) | |||
1457 | 1457 | ||
1458 | if ((obj_priv->gtt_offset & ~I915_FENCE_START_MASK) || | 1458 | if ((obj_priv->gtt_offset & ~I915_FENCE_START_MASK) || |
1459 | (obj_priv->gtt_offset & (obj->size - 1))) { | 1459 | (obj_priv->gtt_offset & (obj->size - 1))) { |
1460 | WARN(1, "%s: object 0x%08x not 1M or size (0x%x) aligned\n", | 1460 | WARN(1, "%s: object 0x%08x not 1M or size (0x%zx) aligned\n", |
1461 | __func__, obj_priv->gtt_offset, obj->size); | 1461 | __func__, obj_priv->gtt_offset, obj->size); |
1462 | return; | 1462 | return; |
1463 | } | 1463 | } |