dmaengine: cirrus: ERR_CAST() ioremap error
PATCH 1/1 dmaengine: cirrus: ERR_CAST() ioremap error
ep93xx_dma.c:1354:37: sparse: sparse: incorrect type in return expression
(different address spaces)
ep93xx_dma.c:1354:37: sparse: expected struct ep93xx_dma_engine *
ep93xx_dma.c:1354:37: sparse: got void [noderef] __iomem *regs
Reported-by kernel test robot <[email protected]>
Fixes 4e8ad5ed845b ("dmaengine: cirrus: Convert to DT for Cirrus EP93xx")
Signed-off-by Alexander Sverdlin <[email protected]>
--- drivers/dma/ep93xx_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/ep93xx_dma.c +1 -1
@@ -1395,7 +1395,7 @@ static struct ep93xx_dma_engine *ep93xx_dma_of_probe(struct platform_device *pde edmac->chan.device = dma_dev; edmac->regs =devm_platform_ioremap_resource (pdev, i);if (IS_ERR (edmac->regs)) -return edmac->regs; +return ERR_CAST (edmac->regs); edmac->irq =fwnode_irq_get (dev_fwnode (dev), i);if (edmac->irq <0 )
Signature · 1 line
2.46.0
This patch was applied to soc/soc.git (arm/fixes) by Arnd Bergmann <[email protected]>:
Hello:
This patch was applied to soc/soc.git (arm/fixes)
by Arnd Bergmann <[email protected]>:
Quoted 11 lines · On Sat, 21 Sep 2024 00:39:49 +0200 you wrote:
ep93xx_dma.c:1354:37: sparse: sparse: incorrect type in return expression
(different address spaces)
ep93xx_dma.c:1354:37: sparse: expected structep93xx_dma_engine*
ep93xx_dma.c:1354:37: sparse: got void [noderef]__iomem*regsReported-by kernel test robot <[email protected]>Fixes 4e8ad5ed845b ("dmaengine: cirrus: Convert to DT for Cirrus EP93xx")Signed-off-by Alexander Sverdlin <[email protected]>[...]
Here is the summary with links:
- dmaengine: cirrus: ERR_CAST() ioremap error
https://git.kernel.org/soc/soc/c/5b484feb7a26
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html