* Re: linux-next: Tree for May 15 (drivers/dma/ti/k3-udma.c)
[not found] <20230515141235.0777c631@canb.auug.org.au>
@ 2023-05-16 2:18 ` Randy Dunlap
2023-05-16 17:35 ` Vinod Koul
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2023-05-16 2:18 UTC (permalink / raw)
To: Stephen Rothwell, Linux Next Mailing List
Cc: Linux Kernel Mailing List, Peter Ujfalusi, dmaengine
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)
| ^~~~~~~~~~~~~~~
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: Tree for May 15 (drivers/dma/ti/k3-udma.c)
2023-05-16 2:18 ` linux-next: Tree for May 15 (drivers/dma/ti/k3-udma.c) Randy Dunlap
@ 2023-05-16 17:35 ` Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2023-05-16 17:35 UTC (permalink / raw)
To: Randy Dunlap
Cc: Stephen Rothwell, Linux Next Mailing List,
Linux Kernel Mailing List, Peter Ujfalusi, dmaengine
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-16 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230515141235.0777c631@canb.auug.org.au>
2023-05-16 2:18 ` linux-next: Tree for May 15 (drivers/dma/ti/k3-udma.c) Randy Dunlap
2023-05-16 17:35 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox