[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174070615227.1621364.9825668679002642770.git-patchwork-notify@kernel.org>
Date: Fri, 28 Feb 2025 01:29:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Arnd Bergmann <arnd@...nel.org>
Cc: manishc@...vell.com, arnd@...db.de, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: qed: make 'qed_ll2_ops_pass' as __maybe_unused
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 25 Feb 2025 21:09:23 +0100 you wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> gcc warns about unused const variables even in header files when
> building with W=1:
>
> In file included from include/linux/qed/qed_rdma_if.h:14,
> from drivers/net/ethernet/qlogic/qed/qed_rdma.h:16,
> from drivers/net/ethernet/qlogic/qed/qed_cxt.c:23:
> include/linux/qed/qed_ll2_if.h:270:33: error: 'qed_ll2_ops_pass' defined but not used [-Werror=unused-const-variable=]
> 270 | static const struct qed_ll2_ops qed_ll2_ops_pass = {
>
> [...]
Here is the summary with links:
- net: qed: make 'qed_ll2_ops_pass' as __maybe_unused
https://git.kernel.org/netdev/net-next/c/f8131f4cc5bd
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