mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
fbffb6b4d4
commit
787d3083ca
1 changed files with 13 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue