Browse Source

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 <rob.clark@linaro.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Laurent Pinchart 12 years ago
parent
commit
2e7c9b351d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/shmobile/shmob_drm_kms.c

+ 1 - 1
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);
 	}