mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Maciej Sosnowski <[email protected]> Signed-off-by: Dan Williams <[email protected]>