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:
604cc99
)
[PATCH] kyrofb: Fix uninitialized value
author
Antonino A. Daplas
<adaplas@gmail.com>
Sat, 11 Mar 2006 11:27:22 +0000
(
03:27
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 11 Mar 2006 17:19:35 +0000
(09:19 -0800)
Initialize Variable 'count' in DisableVGA to zero.
Coverity Bug 874
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/kyro/STG4000VTG.c
patch
|
blob
|
history
diff --git
a/drivers/video/kyro/STG4000VTG.c
b/drivers/video/kyro/STG4000VTG.c
index 3690b04190afbde7e88a687cde55c6232964e991..bd389709d23403d9b2d85950f267c78143838487 100644
(file)
--- a/
drivers/video/kyro/STG4000VTG.c
+++ b/
drivers/video/kyro/STG4000VTG.c
@@
-17,7
+17,7
@@
void DisableVGA(volatile STG4000REG __iomem *pSTGReg)
{
u32 tmp;
- volatile u32 count, i;
+ volatile u32 count
= 0
, i;
/* Reset the VGA registers */
tmp = STG_READ_REG(SoftwareReset);