mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
video: fbdev: Fix format string mismatch in gbefb.c
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>
This commit is contained in:
parent
3ea4ccd004
commit
7e81b9ddf2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user