commit | 787d3083caf899b8c3abf5a0c7a04e79d77f2c32 | [log] [tgz] |
---|---|---|
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | Thu Nov 01 18:07:16 2018 +0200 |
committer | Vinod Koul <vkoul@kernel.org> | Sat Nov 24 19:21:16 2018 +0530 |
tree | 2c50911e4ecac79889888e73d02d83577a1158d0 | |
parent | fbffb6b4d44f1263390130cb8b35cabc030af3f7 [diff] |
dmaengine: dmatest: move size checks earlier in function There's no need to allocate all that memory if these sizes are invalid anyway. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>