[PATCH][drm-next] drm/selftest: fix spelling mistake "dimention" -> "dimenstion"

Thomas Hellstrom thellstrom at vmware.com
Mon Dec 10 12:50:29 UTC 2018


On Mon, 2018-12-10 at 09:26 +0000, Colin King wrote:

Reviewed-by: Thomas Hellstrom <thellstrom at vmware.com>

I'll take this in the next pull request unless I'm told otherwise.

/Thomas

> From: Colin Ian King <colin.king at canonical.com>
> 
> There is a spelling mistake in a pr_err message, fix this.
> 
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  drivers/gpu/drm/selftests/test-drm_damage_helper.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/selftests/test-drm_damage_helper.c
> b/drivers/gpu/drm/selftests/test-drm_damage_helper.c
> index a2f753205a3e..9d2bcdf8bc29 100644
> --- a/drivers/gpu/drm/selftests/test-drm_damage_helper.c
> +++ b/drivers/gpu/drm/selftests/test-drm_damage_helper.c
> @@ -53,7 +53,7 @@ static bool check_damage_clip(struct
> drm_plane_state *state, struct drm_rect *r,
>  	int src_y2 = (state->src.y2 >> 16) + !!(state->src.y2 &
> 0xFFFF);
>  
>  	if (x1 >= x2 || y1 >= y2) {
> -		pr_err("Cannot have damage clip with no dimention.\n");
> +		pr_err("Cannot have damage clip with no dimension.\n");
>  		return false;
>  	}
>  


More information about the dri-devel mailing list