From: Laurent Pinchart Date: Tue, 11 Dec 2012 13:53:42 +0000 (+0100) Subject: drm/shmobile: Minor typo fix in debug message X-Git-Tag: accepted/tizen/common/20141203.182822~1901^2~80^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e7c9b351dee0c89e78c9a0432f71738a0ecc287;p=platform%2Fkernel%2Flinux-arm64.git drm/shmobile: Minor typo fix in debug message Warning that an invalid value is valid doesn't make much sense, fix the message. Reported-by: Rob Clark Signed-off-by: Laurent Pinchart --- diff --git a/drivers/gpu/drm/shmobile/shmob_drm_kms.c b/drivers/gpu/drm/shmobile/shmob_drm_kms.c index c291ee3..fc0ef0c 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_kms.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_kms.c @@ -116,7 +116,7 @@ shmob_drm_fb_create(struct drm_device *dev, struct drm_file *file_priv, } if (mode_cmd->pitches[0] & 7 || mode_cmd->pitches[0] >= 65536) { - dev_dbg(dev->dev, "valid pitch value %u\n", + dev_dbg(dev->dev, "invalid pitch value %u\n", mode_cmd->pitches[0]); return ERR_PTR(-EINVAL); }