Skip to contentSkip to conversation

i915: add newline to i915_gem_object_pin failure msg

PATCH New Kyle McMartin 1 participant 1 message Feb 28, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i915: add newline to i915_gem_object_pin failure msg

From: Kyle McMartin <[email protected]>

Prevents formatting nasty as below:

[drm:i915_gem_object_pin] *ERROR* Failure to bind: -12<3>[drm:i915_gem_evict_something] *ERROR* inactive empty 1 request empty 1 flushing empty 1

---

drivers/gpu/drm/i915/i915_gem.c +1 -1
index 85685bf..d51ae5d 100644
@@ -2712,7 +2712,7 @@ i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment)
 		ret = i915_gem_object_bind_to_gtt(obj, alignment);
 		if (ret != 0) {
 			if (ret != -EBUSY && ret != -ERESTARTSYS)
-				DRM_ERROR("Failure to bind: %d", ret);
+				DRM_ERROR("Failure to bind: %d\n", ret);
 			return ret;
 		}
 		/*