projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44084ef
)
drm: modes: add missing [drm] to message printing
author
LABBE Corentin
<clabbe.montjoie@gmail.com>
Thu, 4 Feb 2016 14:03:52 +0000
(15:03 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 9 Feb 2016 15:34:44 +0000
(16:34 +0100)
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: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
http://patchwork.freedesktop.org/patch/msgid/1454594633-15100-1-git-send-email-clabbe.montjoie@gmail.com
drivers/gpu/drm/drm_modes.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_modes.c
b/drivers/gpu/drm/drm_modes.c
index 20775c05235a4d81ef8569011d573db303ab0a6d..f7448a5e95a9b3bf6fcdf491a079581ea5d8e7c1 100644
(file)
--- a/
drivers/gpu/drm/drm_modes.c
+++ b/
drivers/gpu/drm/drm_modes.c
@@
-1371,8
+1371,7
@@
bool drm_mode_parse_command_line_for_connector(const char *mode_option,
}
done:
if (i >= 0) {
- printk(KERN_WARNING
- "parse error at position %i in video mode '%s'\n",
+ pr_warn("[drm] parse error at position %i in video mode '%s'\n",
i, name);
mode->specified = false;
return false;