Commit 5dd1f940 authored by Dan Carpenter's avatar Dan Carpenter Committed by Ben Hutchings
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 05a44cf4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment