summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChuck Ebbert <cebbert.lkml@gmail.com>2014-10-08 11:37:20 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-10-22 10:38:32 +0200
commit209f5527b7ef06948d79f9dea636764db296db08 (patch)
tree689b8a67f982a6b05aaf767117dcdcadb1dcdf26 /drivers/gpu
parent32197aab0425dbecc38462a91bc5c8acf70b2036 (diff)
downloadop-kernel-dev-209f5527b7ef06948d79f9dea636764db296db08.zip
op-kernel-dev-209f5527b7ef06948d79f9dea636764db296db08.tar.gz
drm/crtc: Fix two typos
Fix: ioclt -> ioctl in comment wrong variable name in debug message Signed-off-by: Chuck Ebbert <cebbert.lkml@gmail.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> [danvet: Frob manually generated patch to make it apply.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/drm_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 7f94989..4be0189 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -2943,7 +2943,7 @@ EXPORT_SYMBOL(drm_mode_legacy_fb_format);
* @file_priv: drm file for the ioctl call
*
* Add a new FB to the specified CRTC, given a user request. This is the
- * original addfb ioclt which only supported RGB formats.
+ * original addfb ioctl which only supported RGB formats.
*
* Called by the user via ioctl.
*
@@ -3080,7 +3080,7 @@ static int framebuffer_check(const struct drm_mode_fb_cmd2 *r)
num_planes = drm_format_num_planes(r->pixel_format);
if (r->width == 0 || r->width % hsub) {
- DRM_DEBUG_KMS("bad framebuffer width %u\n", r->height);
+ DRM_DEBUG_KMS("bad framebuffer width %u\n", r->width);
return -EINVAL;
}
OpenPOWER on IntegriCloud