summaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorRoel Kluin2010-02-13 15:54:03 +0100
committerDan Williams2010-03-01 06:22:12 +0100
commitf1acb878b6070941e844dfc4ca1b3b9e5a70426c (patch)
treeee42486424fea38a50136f95379b4bc42d0c3d5f /REPORTING-BUGS
parentdmatest: fix handling of an even number of xor_sources (diff)
downloadkernel-qcow2-linux-f1acb878b6070941e844dfc4ca1b3b9e5a70426c.tar.gz
kernel-qcow2-linux-f1acb878b6070941e844dfc4ca1b3b9e5a70426c.tar.xz
kernel-qcow2-linux-f1acb878b6070941e844dfc4ca1b3b9e5a70426c.zip
iop-adma: redundant/wrong tests in iop_*_count()?
When we reach the loop, len is at least 1, we only stay in the loop when len is at least MAX_BYTE_COUNT + 1, MAX_BYTE_COUNT is subtracted in each iteration. So when we leave the loop, or didn't take it, len is at least 1. Testing whether len is non-zero appears redundant. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions