projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce303c0
)
sgivwfb: the pseudo_palette is only 16 elements long
author
Antonino A. Daplas
<adaplas@gmail.com>
Tue, 17 Jul 2007 11:05:40 +0000
(
04:05
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:12 +0000
(10:23 -0700)
The pseudo_palette is only 16 elements long.
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/sgivwfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/sgivwfb.c
b/drivers/video/sgivwfb.c
index ebb6756aea0894b9546db8b7a1e8ff2b739fa7c8..4fb16240c04d2d377354e6d060c356770bde4cb9 100644
(file)
--- a/
drivers/video/sgivwfb.c
+++ b/
drivers/video/sgivwfb.c
@@
-752,7
+752,7
@@
static int __init sgivwfb_probe(struct platform_device *dev)
struct fb_info *info;
char *monitor;
- info = framebuffer_alloc(sizeof(struct sgivw_par) + sizeof(u32) *
25
6, &dev->dev);
+ info = framebuffer_alloc(sizeof(struct sgivw_par) + sizeof(u32) *
1
6, &dev->dev);
if (!info)
return -ENOMEM;
par = info->par;