mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-13 11:51:32 +00:00
[PATCH] kyrofb: Fix uninitialized value
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>
This commit is contained in:
parent
604cc999fd
commit
16afe814a8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user