[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161644560778.2928.15414100425036462948.git-patchwork-notify@kernel.org>
Date: Mon, 22 Mar 2021 20:40:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: 'w00385741 <weiyongjun1@...wei.com>
Cc: peppe.cavallaro@...com, alexandre.torgue@...s.st.com,
joabreu@...opsys.com, kuba@...nel.org, mcoquelin.stm32@...il.com,
p.zabel@...gutronix.de, linux@...linux.org.uk,
qiangqing.zhang@....com, netdev@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org,
kernel-janitors@...r.kernel.org, hulkci@...wei.com
Subject: Re: [PATCH net-next] net: stmmac: platform: fix build error with
!CONFIG_PM_SLEEP
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Mon, 22 Mar 2021 12:23:59 +0000 you wrote:
> From: Wei Yongjun <weiyongjun1@...wei.com>
>
> Get rid of the CONFIG_PM_SLEEP ifdefery to fix the build error
> and use __maybe_unused for the suspend()/resume() hooks to avoid
> build warning:
>
> drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:769:21:
> error: 'stmmac_runtime_suspend' undeclared here (not in a function); did you mean 'stmmac_suspend'?
> 769 | SET_RUNTIME_PM_OPS(stmmac_runtime_suspend, stmmac_runtime_resume, NULL)
> | ^~~~~~~~~~~~~~~~~~~~~~
> ./include/linux/pm.h:342:21: note: in definition of macro 'SET_RUNTIME_PM_OPS'
> 342 | .runtime_suspend = suspend_fn, \
> | ^~~~~~~~~~
> drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:769:45:
> error: 'stmmac_runtime_resume' undeclared here (not in a function)
> 769 | SET_RUNTIME_PM_OPS(stmmac_runtime_suspend, stmmac_runtime_resume, NULL)
> | ^~~~~~~~~~~~~~~~~~~~~
> ./include/linux/pm.h:343:20: note: in definition of macro 'SET_RUNTIME_PM_OPS'
> 343 | .runtime_resume = resume_fn, \
> | ^~~~~~~~~
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: platform: fix build error with !CONFIG_PM_SLEEP
https://git.kernel.org/netdev/net-next/c/7ec05a603548
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists