Commit aeb565df authored by Linus Torvalds's avatar Linus Torvalds

Fix annoying DRM_ERROR() string warning

Use '%zu' to print out a size_t variable, not '%d'.  Another case of the
"let's keep at least Linus' defconfig compile warningless" rule.
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2d07d4d1
...@@ -3427,7 +3427,7 @@ i915_gem_attach_phys_object(struct drm_device *dev, ...@@ -3427,7 +3427,7 @@ i915_gem_attach_phys_object(struct drm_device *dev,
ret = i915_gem_init_phys_object(dev, id, ret = i915_gem_init_phys_object(dev, id,
obj->size); obj->size);
if (ret) { if (ret) {
DRM_ERROR("failed to init phys object %d size: %d\n", id, obj->size); DRM_ERROR("failed to init phys object %d size: %zu\n", id, obj->size);
goto out; goto out;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment