Commit 67fe85dd authored by LABBE Corentin's avatar LABBE Corentin Committed by Daniel Vetter

drm: modes: add missing [drm] to message printing

The warning message in drm_mode_parse_command_line_for_connector miss
the [drm] at beginning.
This patch add it and take the opportunity to convert
printk(KERN_WARNING to pr_warn()
Signed-off-by: default avatarLABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1454594633-15100-1-git-send-email-clabbe.montjoie@gmail.com
parent 44084efc
...@@ -1371,8 +1371,7 @@ bool drm_mode_parse_command_line_for_connector(const char *mode_option, ...@@ -1371,8 +1371,7 @@ bool drm_mode_parse_command_line_for_connector(const char *mode_option,
} }
done: done:
if (i >= 0) { if (i >= 0) {
printk(KERN_WARNING pr_warn("[drm] parse error at position %i in video mode '%s'\n",
"parse error at position %i in video mode '%s'\n",
i, name); i, name);
mode->specified = false; mode->specified = false;
return false; return false;
......
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