All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/crtc: Fix two typos
@ 2014-10-08 16:37 Chuck Ebbert
  2014-10-21 14:01 ` Ville Syrjälä
  0 siblings, 1 reply; 3+ messages in thread
From: Chuck Ebbert @ 2014-10-08 16:37 UTC (permalink / raw)
  To: David Airlie; +Cc: dri-devel@lists.freedesktop.org

Fix:

  ioclt -> ioctl in comment
  wrong variable name in debug message

Signed-off-by: Chuck Ebbert <cebbert.lkml@gmail.com>
---

--- 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;
 	}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/crtc: Fix two typos
  2014-10-08 16:37 [PATCH] drm/crtc: Fix two typos Chuck Ebbert
@ 2014-10-21 14:01 ` Ville Syrjälä
  2014-10-22  8:38   ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Ville Syrjälä @ 2014-10-21 14:01 UTC (permalink / raw)
  To: Chuck Ebbert; +Cc: dri-devel@lists.freedesktop.org

On Wed, Oct 08, 2014 at 11:37:20AM -0500, Chuck Ebbert wrote:
> 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>

> ---
> 
> --- 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;
>  	}
>  
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Ville Syrjälä
Intel OTC

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/crtc: Fix two typos
  2014-10-21 14:01 ` Ville Syrjälä
@ 2014-10-22  8:38   ` Daniel Vetter
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2014-10-22  8:38 UTC (permalink / raw)
  To: Ville Syrjälä; +Cc: Chuck Ebbert, dri-devel@lists.freedesktop.org

On Tue, Oct 21, 2014 at 05:01:41PM +0300, Ville Syrjälä wrote:
> On Wed, Oct 08, 2014 at 11:37:20AM -0500, Chuck Ebbert wrote:
> > 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>
> 
> > ---
> > 
> > --- 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

This diff was manually generated and failed to apply using the usual
tooling. Please generate patches using git format-patch and send it
using git send-email, they get all the details right.

I've fixed it up while applying.
-Daniel

> > @@ -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;
> >  	}
> >  
> > _______________________________________________
> > dri-devel mailing list
> > dri-devel@lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/dri-devel
> 
> -- 
> Ville Syrjälä
> Intel OTC
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-22  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08 16:37 [PATCH] drm/crtc: Fix two typos Chuck Ebbert
2014-10-21 14:01 ` Ville Syrjälä
2014-10-22  8:38   ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.