commit | e70727e442eb61581f836a9a0ca0c3b70d8a3ff2 | [log] [tgz] |
---|---|---|
author | David Lambert <dave@lambsys.com> | Mon Mar 07 12:00:46 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Mar 11 14:22:49 2011 +0000 |
tree | 52691fbc86e772642978cc09a32eaaf807ef1016 | |
parent | 5d9d9936209e589569a97985285b3282310cf2db [diff] |
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>