i915: add newline to i915_gem_object_pin failure msg

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, March 11, 2009 - 12:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0fce81...
Commit:     0fce81e3ccd093f4826de40fbd27fac9632f6170
Parent:     b70d11da61d751ad968c6f686d83ac1b0ae41466
Author:     Kyle McMartin <kyle@redhat.com>
AuthorDate: Sat Feb 28 15:01:16 2009 -0500
Committer:  Eric Anholt <eric@anholt.net>
CommitDate: Tue Mar 10 13:11:11 2009 -0700

    i915: add newline to i915_gem_object_pin failure msg
    
    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
    
    Signed-off-by: Kyle McMartin <kyle@redhat.com>
    Signed-off-by: Eric Anholt <eric@anholt.net>
---
 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 7bdcc75..c94069b 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -2727,7 +2727,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;
 		}
 		/*
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
i915: add newline to i915_gem_object_pin failure msg, Linux Kernel Mailing ..., (Wed Mar 11, 12:59 pm)