aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-rs5c313.c
diff options
context:
space:
mode:
authorMichal Januszewski <spock@gentoo.org>2009-03-31 15:25:41 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-01 08:59:33 -0700
commit23b736545473ed853b685cbc03883aa6ff3f0e0d (patch)
treedbc04a8fc5765f6832085909e6b5247511c33fed /drivers/rtc/rtc-rs5c313.c
parentddb53d48da5b0e691f35e703ac29118747f86c99 (diff)
uvesafb: fix selecting mode with the vbemode option
If the vbemode option is used, uvesafb calls fb_get_mode() without first setting the resolution in info->var. This results in a division by zero in fb_get_mode(), as evidenced e.g. in [1]. Fix this by ensuring the info->var structure is populated before fb_get_mode() is called. [1] http://bugzilla.kernel.org/show_bug.cgi?id=11661#c37 Signed-off-by: Michal Januszewski <spock@gentoo.org> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-rs5c313.c')
0 files changed, 0 insertions, 0 deletions