From: Anatolij Gustschin Date: Mon, 15 Feb 2010 21:35:23 +0000 (+0100) Subject: dmatest: correct raid6 PQ test X-Git-Tag: v2.6.34-rc1~204^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94de648d72c8bc833590523f22386d4babbea988;p=pandora-kernel.git dmatest: correct raid6 PQ test The number of PQ sources specified by module parameter "pq_sources" is always forced odd to fit into dmatest's destination verificaton scheme. But number of PQ sources and coefficients as passed to the driver's prep_dma_pq() is not adjusted accordingly. Fix it now to get correct PQ testing results in the case passed "pq_sources" parameter is even. Signed-off-by: Anatolij Gustschin Signed-off-by: Andrew Morton Cc: Maciej Sosnowski Signed-off-by: Dan Williams --- Reading git-diff-tree failed