Re: [PATCH] dmatest: adjust invalid module parameters for numberof source buffers

From: Vinod Koul
Date: Mon Oct 29 2012 - 02:07:06 EST


On Sun, 2012-10-28 at 00:49 +0900, Akinobu Mita wrote:
> DMA Engine test module has module parameters to set the number of source
> buffers for xor and pq operations. We can set these values larger than the
> maximum number of sources that the device can support. These values are
> not adjusted and the unsupported number of source buffers are passed to the
> device. But most drivers don't check it, so unexpected results will happen.
>
> This makes an appropriate adjustment for these module parameters before use.
Applied thanks

--
Vinod Koul
Intel Corp.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/