Re: [PATCH] dmaengine: k3dma: fix off by one

From: zhangfei
Date: Wed Sep 21 2016 - 21:32:23 EST

On 2016å09æ22æ 04:16, Vincent Stehlà wrote:
In k3_of_dma_simple_xlate(), the d->chans[] array has d->dma_requests
elements so > should be >=.

Fixes: 8e6152bc660e69f5 ("dmaengine: Add hisilicon k3 DMA engine driver")
Signed-off-by: Vincent Stehlà <vincent.stehle@xxxxxxxxxxx>
Cc: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>
Cc: Vinod Koul <vinod.koul@xxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
Acked-by: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>