Skip to content
Commit c4c2b764 authored by Dan Carpenter's avatar Dan Carpenter Committed by Vinod Koul
Browse files

dmaengine: k3dma: Off by one in k3_of_dma_simple_xlate()



The d->chans[] array has d->dma_requests elements so the > should be
>= here.

Fixes: 8e6152bc ("dmaengine: Add hisilicon k3 DMA engine driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent e3f329c6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment