summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/selftests
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-12-10 09:26:19 +0000
committerThomas Hellstrom <thellstrom@vmware.com>2018-12-11 15:19:42 +0100
commitd74380ba0e6318d97907b675cef0a02c5a15771e (patch)
tree6f9585889fa1730efa2e5cfbdff051d7a30813b1 /drivers/gpu/drm/selftests
parent9a01135b98b9d5a7033c544245da7aad0d886758 (diff)
drm/selftest: fix spelling mistake "dimention" -> "dimension"
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>
Diffstat (limited to 'drivers/gpu/drm/selftests')
-rw-r--r--drivers/gpu/drm/selftests/test-drm_damage_helper.c2
1 files changed, 1 insertions, 1 deletions
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;
}