projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ea4ccd
)
video: fbdev: Fix format string mismatch in gbefb.c
author
Masanari Iida
<standby24x7@gmail.com>
Tue, 29 Apr 2014 12:21:55 +0000
(21:21 +0900)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Wed, 30 Apr 2014 08:24:40 +0000
(11:24 +0300)
Fix format string mismatch in gbefb_show_memsize().
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/gbefb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/fbdev/gbefb.c
b/drivers/video/fbdev/gbefb.c
index 3ec65a878ac8cfb94598970f380fa2b3354b7fa7..4aa56ba78f321e912f5f4e9b99a5d291fa344af7 100644
(file)
--- a/
drivers/video/fbdev/gbefb.c
+++ b/
drivers/video/fbdev/gbefb.c
@@
-1068,7
+1068,7
@@
static struct fb_ops gbefb_ops = {
static ssize_t gbefb_show_memsize(struct device *dev, struct device_attribute *attr, char *buf)
{
- return snprintf(buf, PAGE_SIZE, "%
d
\n", gbe_mem_size);
+ return snprintf(buf, PAGE_SIZE, "%
u
\n", gbe_mem_size);
}
static DEVICE_ATTR(size, S_IRUGO, gbefb_show_memsize, NULL);