dmaengine: imx-sdma: fix merge conflict
Subsystems (2)
PATCH 1/1 dmaengine: imx-sdma: fix merge conflict
The sdma_handle_channel_loop() function was modified in one patch and removed in another, and the merge between those patches left an unused function in place:
drivers/dma/imx-sdma.c:673:13: error: 'sdma_handle_channel_loop' defined but not used [-Werror=unused-function]
This removes it again.
--- drivers/dma/imx-sdma.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/dma/imx-sdma.c +0 -5
@@ -670,11 +670,6 @@ static void sdma_event_disable(struct sdma_channel *sdmac, unsigned int event)writel_relaxed (val, sdma->regs + chnenbl); } -static void sdma_handle_channel_loop (struct sdma_channel *sdmac) -{ -dmaengine_desc_get_callback_invoke (&sdmac->desc,NULL ); -} -static void sdma_update_channel_loop (struct sdma_channel *sdmac) {struct sdma_buffer_descriptor *bd;
Signature · 1 line
2.9.0
Quoted 4 lines · CEST Arnd Bergmann
The
sdma_handle_channel_loop()function was modified in one patch and removed in another, and the merge between those patches left an unused function in place:
Quoted 8 lines
drivers/dma/imx-sdma.c:673:13: error: 'sdma_handle_channel_loop' defined but not used [-Werror=unused-function]This removes it again.
Signed-off-by Arnd Bergmann <[email protected]>Fixes 48dc77e2d4fc ("dmaengine: imx-sdma: convert callback to helper function")Fixes 15f30f513111 ("dmaengine: imx-sdma - reduce transfer latency for DMA cyclic clients")---
Hi Vinod,
I still see the warning in linux-next, can you apply the patch?
Arnd
Vinod Koul
AppliedQuoted 9 lines · Arnd Bergmann
Quoted 8 lines · CEST Arnd Bergmann
The
sdma_handle_channel_loop()function was modified in one patch and removed in another, and the merge between those patches left an unused function in place:
drivers/dma/imx-sdma.c:673:13: error: 'sdma_handle_channel_loop' defined but not used [-Werror=unused-function]This removes it again.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Arnd Bergmann <[email protected]>Fixes 48dc77e2d4fc ("dmaengine: imx-sdma: convert callback to helper function")Fixes 15f30f513111 ("dmaengine: imx-sdma - reduce transfer latency for DMA cyclic clients")---
Hi Vinod,
I still see the warning in linux-next, can you apply the patch?
Applied, now. Sorry had missed earlier
Signature · 1 line
~Vinod
Quoted 15 lines · CEST Vinod Koul
Quoted 14 lines · Arnd Bergmann
Quoted 12 lines · CEST Arnd Bergmann
The
sdma_handle_channel_loop()function was modified in one patch and removed in another, and the merge between those patches left an unused function in place:
drivers/dma/imx-sdma.c:673:13: error: 'sdma_handle_channel_loop' defined but not used [-Werror=unused-function]This removes it again.
Signed-off-by Arnd Bergmann <[email protected]>Fixes 48dc77e2d4fc ("dmaengine: imx-sdma: convert callback to helper function")Fixes 15f30f513111 ("dmaengine: imx-sdma - reduce transfer latency for DMA cyclic clients")---
Quoted 5 lines
Quoted 3 lines
Hi Vinod,
I still see the warning in linux-next, can you apply the patch?
Applied, now. Sorry had missed earlier
The problem was fixed after you applied the patch, but it seems the same one is now back in linux-next.
Arnd
Quoted 16 lines · Arnd Bergmann
Quoted 15 lines · CEST Vinod Koul
Quoted 14 lines · Arnd Bergmann
Quoted 12 lines · CEST Arnd Bergmann
The
sdma_handle_channel_loop()function was modified in one patch and removed in another, and the merge between those patches left an unused function in place:
drivers/dma/imx-sdma.c:673:13: error: 'sdma_handle_channel_loop' defined but not used [-Werror=unused-function]This removes it again.
Signed-off-by Arnd Bergmann <[email protected]>Fixes 48dc77e2d4fc ("dmaengine: imx-sdma: convert callback to helper function")Fixes 15f30f513111 ("dmaengine: imx-sdma - reduce transfer latency for DMA cyclic clients")---
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Hi Vinod,
I still see the warning in linux-next, can you apply the patch?
Applied, now. Sorry had missed earlier
The problem was fixed after you applied the patch, but it seems the same one is now back in linux-next.
Opps I am sorry for that.
To prepare for pull request I rebased my next, and I fixed it while merging with tty. I was planning to send this to Linus as reference.
But then i had to redo this as I merged some other code not going for 4.9 and messed up in second try.
Thanks for pointing it out. It is fixed now and pushed
Signature · 1 line
~Vinod