[PATCH] fbdev: Initialize var structure in calc_mode_timings
authorAntonino A. Daplas <adaplas@gmail.com>
Fri, 9 Sep 2005 20:10:02 +0000 (13:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 21:03:40 +0000 (14:03 -0700)
commit61ab7903b8cd772d3bfb28bc26d02c599cfb0e5b
tree4140b59ec3882a954b620ebbee56d6c7bcdf781d
parent7c1cd6fd5efeb95603e37f35b5da293b452d8b64
[PATCH] fbdev: Initialize var structure in calc_mode_timings

The var structure in calc_mode_timings is not properly initialized (zero set)
which leads to undefined behavior when it is passed to fb_get_mode().

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/fbmon.c