From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chuck Ebbert Subject: [PATCH] drm/crtc: Fix two typos Date: Wed, 8 Oct 2014 11:37:20 -0500 Message-ID: <20141008113720.0a812be2@as> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by gabe.freedesktop.org (Postfix) with ESMTP id 579416E28E for ; Wed, 8 Oct 2014 09:37:24 -0700 (PDT) Received: by mail-oi0-f43.google.com with SMTP id u20so8187231oif.16 for ; Wed, 08 Oct 2014 09:37:23 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: David Airlie Cc: "dri-devel@lists.freedesktop.org" List-Id: dri-devel@lists.freedesktop.org Fix: ioclt -> ioctl in comment wrong variable name in debug message Signed-off-by: Chuck Ebbert --- --- drivers/gpu/drm/drm_crtc.c.orig 2014-10-08 11:29:50.948406186 -0500 +++ drivers/gpu/drm/drm_crtc.c 2014-10-08 11:30:55.781479300 -0500 @@ -2913,7 +2913,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. * @@ -3033,7 +3033,7 @@ static int framebuffer_check(const struc 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; }