[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168292322064.19130.1892036141540950855.git-patchwork-notify@kernel.org>
Date: Mon, 01 May 2023 06:40:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tom Rix <trix@...hat.com>
Cc: irusskikh@...vell.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: atlantic: Define aq_pm_ops conditionally on CONFIG_PM
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Fri, 28 Apr 2023 17:43:21 -0400 you wrote:
> For s390, gcc with W=1 reports
> drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:458:32: error:
> 'aq_pm_ops' defined but not used [-Werror=unused-const-variable=]
> 458 | static const struct dev_pm_ops aq_pm_ops = {
> | ^~~~~~~~~
>
> The only use of aq_pm_ops is conditional on CONFIG_PM.
> The definition of aq_pm_ops and its functions should also
> be conditional on CONFIG_PM.
>
> [...]
Here is the summary with links:
- net: atlantic: Define aq_pm_ops conditionally on CONFIG_PM
https://git.kernel.org/netdev/net/c/4f163bf82b02
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