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:
90e16dd
)
imxfb: fix memory hole
author
Sascha Hauer
<s.hauer@pengutronix.de>
Wed, 23 May 2007 20:57:52 +0000
(13:57 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Thu, 24 May 2007 03:14:13 +0000
(20:14 -0700)
info->pseudo_palette was previously kmalloced. Do not overwrite it afterwards
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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/imxfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/imxfb.c
b/drivers/video/imxfb.c
index 6cdf269da4939c8fe1afa258cac0d5df59d7cb28..a1258989859767106811fa7f50dae4498b75db50 100644
(file)
--- a/
drivers/video/imxfb.c
+++ b/
drivers/video/imxfb.c
@@
-468,7
+468,6
@@
static int __init imxfb_init_fbinfo(struct device *dev)
info->fbops = &imxfb_ops;
info->flags = FBINFO_FLAG_DEFAULT;
- info->pseudo_palette = (fbi + 1);
fbi->rgb[RGB_16] = &def_rgb_16;
fbi->rgb[RGB_8] = &def_rgb_8;