|
@@ -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);
|