diff options
author | Harald Welte <HaraldWelte@viatech.com> | 2009-05-12 22:19:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-12 23:11:35 +0200 |
commit | ee1ef82c7e6d073f881952348960bbc639687482 (patch) | |
tree | 81e81d6196fb9675cff955d79caf5ed8b7288d9a /crypto/crypto_null.c | |
parent | fbdev: remove outdated advice about I2C configuration (diff) | |
download | linux-ee1ef82c7e6d073f881952348960bbc639687482.tar.xz linux-ee1ef82c7e6d073f881952348960bbc639687482.zip |
viafb: make it work on x86_64
Fix a bug in viafb on x86_64 builds (e.g. for VIA Nano CPU).
You cannot make the assumption that sizeof(unsigned int) ==
sizeof(unsigned long), so the parsing of the default mode (640x480) fails,
leading to a division by zero during insmod of the driver.
Signed-off-by: Harald Welte <HaraldWelte@viatech.com>
Cc: <JosephChan@via.com.tw>
Cc: <ScottFang@viatech.com.cn>
Cc: Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/crypto_null.c')
0 files changed, 0 insertions, 0 deletions