summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorDavid Lambert <dave@lambsys.com>2011-03-07 13:00:46 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-03-11 17:22:49 +0300
commite70727e442eb61581f836a9a0ca0c3b70d8a3ff2 (patch)
tree52691fbc86e772642978cc09a32eaaf807ef1016 /net/lapb/lapb_timer.c
parent5d9d9936209e589569a97985285b3282310cf2db (diff)
downloadlinux-e70727e442eb61581f836a9a0ca0c3b70d8a3ff2.tar.xz
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions