diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2012-10-28 00:49:32 +0900 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-01-07 22:04:55 -0800 |
commit | 8be9e32b310cd8c4302991c8ff6692689c7d9d76 (patch) | |
tree | 7d2ae649564d9cab6d7228e1cb0c8f4dfbe965be /drivers/hwmon/max1111.c | |
parent | 91998261dd0d5aefb56d87cef84f7810c32f6194 (diff) | |
download | blackbird-op-linux-8be9e32b310cd8c4302991c8ff6692689c7d9d76.tar.gz blackbird-op-linux-8be9e32b310cd8c4302991c8ff6692689c7d9d76.zip |
dmatest: adjust invalid module parameters for number of source buffers
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.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <djbw@fb.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/hwmon/max1111.c')
0 files changed, 0 insertions, 0 deletions