drm/selftest: fix spelling mistake "dimention" -> "dimension"
authorColin Ian King <colin.king@canonical.com>
Mon, 10 Dec 2018 09:26:19 +0000 (09:26 +0000)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 11 Dec 2018 14:19:42 +0000 (15:19 +0100)
There is a spelling mistake in a pr_err message, fix this.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/selftests/test-drm_damage_helper.c

index a2f753205a3ef0fabab47a3ac0c43e9b1d408ddf..9d2bcdf8bc29e9775ef4f6553dc85e2b660f7237 100644 (file)
@@ -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;
        }