Re: linux-next: Tree for May 15 (drivers/dma/ti/k3-udma.c)

From: Vinod Koul
Date: Tue May 16 2023 - 13:36:04 EST


On 15-05-23, 19:18, Randy Dunlap wrote:
> Hi--
>
> On 5/14/23 21:12, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20230512:
> >
> > New trees: fastrpc, wpan-staging
> >
>
> This build problem has been around for a few days/weeks/?.
>
> # CONFIG_SUSPEND is not set
>
> ../drivers/dma/ti/k3-udma.c:5552:12: warning: 'udma_pm_resume' defined but not used [-Wunused-function]
> 5552 | static int udma_pm_resume(struct device *dev)
> | ^~~~~~~~~~~~~~
> ../drivers/dma/ti/k3-udma.c:5530:12: warning: 'udma_pm_suspend' defined but not used [-Wunused-function]
> 5530 | static int udma_pm_suspend(struct device *dev)
> | ^~~~~~~~~~~~~~~

Thanks for report, this should be fixed by adding __maybe_unused. I will
send a patch shortly

--
~Vinod