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:
0e3704c
)
drm: %pF is only for function pointers
author
Scott Wood
<scottwood@freescale.com>
Thu, 12 Mar 2015 03:13:50 +0000
(22:13 -0500)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 13 Mar 2015 09:17:38 +0000
(10:17 +0100)
Use %pS for actual addresses, otherwise you'll get bad output
on arches like ppc64 where %pF expects a function descriptor.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_drv.c
b/drivers/gpu/drm/drm_drv.c
index d51213464672a9c1b7d3362f355b6ddde29c2403..48f7359e2a6bfed94791c98f78431aab824f7b94 100644
(file)
--- a/
drivers/gpu/drm/drm_drv.c
+++ b/
drivers/gpu/drm/drm_drv.c
@@
-70,7
+70,7
@@
void drm_err(const char *format, ...)
vaf.fmt = format;
vaf.va = &args;
- printk(KERN_ERR "[" DRM_NAME ":%p
f
] *ERROR* %pV",
+ printk(KERN_ERR "[" DRM_NAME ":%p
s
] *ERROR* %pV",
__builtin_return_address(0), &vaf);
va_end(args);