[Intel-gfx] [PATCH] drm/i915: Replace literal tabs in ns2501 debug messages with spaces

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Thu Mar 23 18:53:41 UTC 2017


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Literal tabs in printk() come out as garbage. Let's just use spaces.

Cc: Thomas Richter <thor at math.tu-berlin.de>
Fixes: 14f1fa2d0c86 ("drm/i915: Enable dithering on NatSemi DVO2501 for Fujitsu S6010")
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 drivers/gpu/drm/i915/dvo_ns2501.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/drivers/gpu/drm/i915/dvo_ns2501.c b/drivers/gpu/drm/i915/dvo_ns2501.c
index 2379c33cfe51..0be266a1e9ca 100644
--- a/drivers/gpu/drm/i915/dvo_ns2501.c
+++ b/drivers/gpu/drm/i915/dvo_ns2501.c
@@ -558,20 +558,20 @@ static void ns2501_mode_set(struct intel_dvo_device *dvo,
 	     mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal);
 
 	DRM_DEBUG_KMS("Detailed requested mode settings are:\n"
-			"clock		: %d kHz\n"
-			"hdisplay	: %d\n"
-			"hblank start	: %d\n"
-			"hblank end	: %d\n"
-			"hsync start	: %d\n"
-			"hsync end	: %d\n"
-			"htotal		: %d\n"
-			"hskew		: %d\n"
-			"vdisplay	: %d\n"
-			"vblank start	: %d\n"
-			"hblank end	: %d\n"
-			"vsync start	: %d\n"
-			"vsync end	: %d\n"
-			"vtotal		: %d\n",
+			"clock        : %d kHz\n"
+			"hdisplay     : %d\n"
+			"hblank start : %d\n"
+			"hblank end   : %d\n"
+			"hsync start  : %d\n"
+			"hsync end    : %d\n"
+			"htotal       : %d\n"
+			"hskew        : %d\n"
+			"vdisplay     : %d\n"
+			"vblank start : %d\n"
+			"hblank end   : %d\n"
+			"vsync start  : %d\n"
+			"vsync end    : %d\n"
+			"vtotal       : %d\n",
 			adjusted_mode->crtc_clock,
 			adjusted_mode->crtc_hdisplay,
 			adjusted_mode->crtc_hblank_start,
-- 
2.10.2



More information about the Intel-gfx mailing list