On 10/04/2020 22:34, Andrew Morton wrote: > From: kbuild test robot <lkp@xxxxxxxxx> > Subject: drivers/dma/tegra20-apb-dma.c: fix platform_get_irq.cocci warnings > > Remove dev_err() messages after platform_get_irq*() failures. > platform_get_irq() already prints an error. > > Generated by: scripts/coccinelle/api/platform_get_irq.cocci > > Link: http://lkml.kernel.org/r/alpine.DEB.2.21.2002271133450.2973@hadrien > Fixes: 6c41ac96ad92 ("dmaengine: tegra-apb: Support COMPILE_TEST") > Signed-off-by: kbuild test robot <lkp@xxxxxxxxx> > Signed-off-by: Julia Lawall <julia.lawall@xxxxxxxx> > Reviewed-by: Dmitry Osipenko <digetx@xxxxxxxxx> > Acked-by: Thierry Reding <treding@xxxxxxxxxx> > Cc: Laxman Dewangan <ldewangan@xxxxxxxxxx> > Cc: Vinod Koul <vinod.koul@xxxxxxxxxxxxxxx> > Cc: Stephen Warren <swarren@xxxxxxxxxxxxx> > Cc: Jon Hunter <jonathanh@xxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > --- > > drivers/dma/tegra20-apb-dma.c | 1 - > 1 file changed, 1 deletion(-) > > --- a/drivers/dma/tegra20-apb-dma.c~dmaengine-tegra-apb-fix-platform_get_irqcocci-warnings > +++ a/drivers/dma/tegra20-apb-dma.c > @@ -1493,7 +1493,6 @@ static int tegra_dma_probe(struct platfo > irq = platform_get_irq(pdev, i); > if (irq < 0) { > ret = irq; > - dev_err(&pdev->dev, "No irq resource for chan %d\n", i); > goto err_pm_disable; > } > Thanks! Acked-by: Jon Hunter <jonathanh@xxxxxxxxxx> Cheers Jon -- nvpublic