[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169788542145.19468.17978327279203895124.git-patchwork-notify@kernel.org>
Date: Sat, 21 Oct 2023 10:50:21 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Rob Herring <robh@...nel.org>
Cc: iyappan@...amperecomputing.com, keyur@...amperecomputing.com,
quan@...amperecomputing.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, lkp@...el.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: xgene: Fix unused xgene_enet_of_match warning for
!CONFIG_OF
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Thu, 19 Oct 2023 13:23:37 -0500 you wrote:
> Commit b0377116decd ("net: ethernet: Use device_get_match_data()") dropped
> the unconditional use of xgene_enet_of_match resulting in this warning:
>
> drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2004:34: warning: unused variable 'xgene_enet_of_match' [-Wunused-const-variable]
>
> The fix is to drop of_match_ptr() which is not necessary because DT is
> always used for this driver (well, it could in theory support ACPI only,
> but CONFIG_OF is always enabled for arm64).
>
> [...]
Here is the summary with links:
- net: xgene: Fix unused xgene_enet_of_match warning for !CONFIG_OF
https://git.kernel.org/netdev/net/c/d2ca43f30611
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