diff options
author | Michal Januszewski <spock@gentoo.org> | 2009-04-01 00:25:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 17:59:33 +0200 |
commit | 23b736545473ed853b685cbc03883aa6ff3f0e0d (patch) | |
tree | dbc04a8fc5765f6832085909e6b5247511c33fed /drivers/bluetooth | |
parent | fbdev: remove cyblafb driver (diff) | |
download | linux-23b736545473ed853b685cbc03883aa6ff3f0e0d.tar.xz linux-23b736545473ed853b685cbc03883aa6ff3f0e0d.zip |
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/bluetooth')
0 files changed, 0 insertions, 0 deletions