drm/shmobile: Minor typo fix in debug message
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 11 Dec 2012 13:53:42 +0000 (14:53 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 20 Jun 2013 08:07:14 +0000 (10:07 +0200)
Warning that an invalid value is valid doesn't make much sense, fix the
message.

Reported-by: Rob Clark <rob.clark@linaro.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/shmobile/shmob_drm_kms.c

index c291ee385b4f6c280da06b53416f1c6b41e2f5fc..fc0ef0ca7d0468694952fc77b022706cc829ae33 100644 (file)
@@ -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);
        }