diff options
author | David Lambert <dave@lambsys.com> | 2011-03-07 12:00:46 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-03-11 14:22:49 +0000 |
commit | e70727e442eb61581f836a9a0ca0c3b70d8a3ff2 (patch) | |
tree | 52691fbc86e772642978cc09a32eaaf807ef1016 /drivers/mtd/nand/omap2.c | |
parent | 5d9d9936209e589569a97985285b3282310cf2db (diff) | |
download | linux-e70727e442eb61581f836a9a0ca0c3b70d8a3ff2.tar.bz2 |
mtd: speedtest: fix integer overflow
32-bit integers used in 'calc_speed()' may overflow and lead to
incorrect results. Use 64-bit integers instead.
Signed-off-by: David Lambert <dave@lambsys.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/omap2.c')
0 files changed, 0 insertions, 0 deletions