aboutsummaryrefslogtreecommitdiffstats
path: root/atapromise.c
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2016-05-04 13:24:07 +0200
committerNico Huber <nico.h@gmx.de>2017-04-20 14:52:47 +0200
commitf84df9a78d35eb458ab19c6dac8a0d5f00013886 (patch)
tree37a94fdf7820d59df6c15ca9aff8339e26cc7755 /atapromise.c
parent5e5e8213bbd7a0167e61f1138247e7111b6ef031 (diff)
downloadflashrom-f84df9a78d35eb458ab19c6dac8a0d5f00013886.tar.gz
flashrom-f84df9a78d35eb458ab19c6dac8a0d5f00013886.tar.bz2
flashrom-f84df9a78d35eb458ab19c6dac8a0d5f00013886.zip
dediprog: Fix bug where too many transfers would be queued
We didn't check the total number of queued transfers in the inner most loop. Up to DEDIPROG_ASYNC_TRANSFERS - 1 invalid transfers could be queued therefore. So add another check on the total number. Change-Id: I91a8de47db7107455f5fc63ab2f13a0bd50c5b63 Signed-off-by: Nico Huber <nico.huber@secunet.com> Acked-by: David Hendricks <david.hendricks@gmail.com> Reviewed-on: https://review.coreboot.org/19351 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'atapromise.c')
0 files changed, 0 insertions, 0 deletions