projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
682d73f
)
drivers/video/ps3fb: fix memset size error
author
Li Zefan
<lizf@cn.fujitsu.com>
Thu, 15 Nov 2007 00:58:33 +0000
(16:58 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:36 +0000
(18:45 -0800)
The size passed to memset is wrong.
Signed-off-by Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/ps3fb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/ps3fb.c
b/drivers/video/ps3fb.c
index b3463ddcfd608df0a7b2ada2990f1ee1d974f4b0..75836aa8319196345d5a24123af97e509a643543 100644
(file)
--- a/
drivers/video/ps3fb.c
+++ b/
drivers/video/ps3fb.c
@@
-727,7
+727,7
@@
static int ps3fb_blank(int blank, struct fb_info *info)
static int ps3fb_get_vblank(struct fb_vblank *vblank)
{
- memset(vblank, 0, sizeof(
&
vblank));
+ memset(vblank, 0, sizeof(
*
vblank));
vblank->flags = FB_VBLANK_HAVE_VSYNC;
return 0;
}