summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-06-06 18:22:06 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-06-13 15:17:38 +0200
commitfdaf66de9e4e242bb1ce8b41db49551830336b44 (patch)
treef58b46901f359837644d6f06cffe7628d85b0d2d
parentdaa3afb27d3026ac15389bcb040b946f1784a97a (diff)
downloadop-kernel-dev-fdaf66de9e4e242bb1ce8b41db49551830336b44.zip
op-kernel-dev-fdaf66de9e4e242bb1ce8b41db49551830336b44.tar.gz
drm/i915: Use %c in a format string for the pipe name
pipe_name() returns an ascii character. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/i915/intel_fbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_fbdev.c b/drivers/gpu/drm/i915/intel_fbdev.c
index 088fe93..27975c3 100644
--- a/drivers/gpu/drm/i915/intel_fbdev.c
+++ b/drivers/gpu/drm/i915/intel_fbdev.c
@@ -417,7 +417,7 @@ static bool intel_fb_initial_config(struct drm_fb_helper *fb_helper,
}
crtcs[i] = new_crtc;
- DRM_DEBUG_KMS("connector %s on pipe %d [CRTC:%d]: %dx%d%s\n",
+ DRM_DEBUG_KMS("connector %s on pipe %c [CRTC:%d]: %dx%d%s\n",
connector->name,
pipe_name(to_intel_crtc(encoder->crtc)->pipe),
encoder->crtc->base.id,
OpenPOWER on IntegriCloud