Commit 2e7c9b35 authored by Laurent Pinchart's avatar Laurent Pinchart

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: default avatarRob Clark <rob.clark@linaro.org>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
parent dc28aa07
...@@ -116,7 +116,7 @@ shmob_drm_fb_create(struct drm_device *dev, struct drm_file *file_priv, ...@@ -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) { 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]); mode_cmd->pitches[0]);
return ERR_PTR(-EINVAL); return ERR_PTR(-EINVAL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment