drm/i915: fix "Unexpected fault" error message line break
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 30 Oct 2014 17:52:45 +0000 (15:52 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Nov 2014 17:41:57 +0000 (18:41 +0100)
Fix the message, not the fault :)

This is what I see:
[  282.108597] [drm:i915_check_and_clear_faults] Unexpected fault
[  282.108597]  Addr: 0x00000000\n Address space: PPGTT
[  282.108597]  Source ID: 24
[  282.108597]  Type: 0

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c

index cb7adabc4e443483c90dd4c627c905500cb109b6..de12017c809b799d4df0971f47568220994096aa 100644 (file)
@@ -1266,7 +1266,7 @@ void i915_check_and_clear_faults(struct drm_device *dev)
                fault_reg = I915_READ(RING_FAULT_REG(ring));
                if (fault_reg & RING_FAULT_VALID) {
                        DRM_DEBUG_DRIVER("Unexpected fault\n"
-                                        "\tAddr: 0x%08lx\\n"
+                                        "\tAddr: 0x%08lx\n"
                                         "\tAddress space: %s\n"
                                         "\tSource ID: %d\n"
                                         "\tType: %d\n",