dmaengine: k3dma: Off by one in k3_of_dma_simple_xlate()
commit c4c2b764 upstream. 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:Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Vinod Koul <vkoul@kernel.org> Signed-off-by:
Ben Hutchings <ben@decadent.org.uk>
Loading
Please sign in to comment