dmatest: fix handling of an even number of xor_sources
authorDan Williams <dan.j.williams@intel.com>
Mon, 1 Mar 2010 05:20:18 +0000 (22:20 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 1 Mar 2010 05:20:18 +0000 (22:20 -0700)
commit67b9124f734b22b30d9adf18c39fe795e2901070
tree209e80992ca7722a1ddc82dde8dda1a5e119c666
parent94de648d72c8bc833590523f22386d4babbea988
dmatest: fix handling of an even number of xor_sources

Just like commit ac5d73fc, we need to be careful to use 'src_cnt' as it
contains the fixed up number of xor sources (forced odd) to meet dmatest's
data verification scheme.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmatest.c