From: patchwork-bot+netdevbpf@kernel.org
To: Arnd Bergmann <arnd@kernel.org>
Cc: manishc@marvell.com, arnd@arndb.de, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: qed: make 'qed_ll2_ops_pass' as __maybe_unused
Date: Fri, 28 Feb 2025 01:29:12 +0000 [thread overview]
Message-ID: <174070615227.1621364.9825668679002642770.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250225200926.4057723-1-arnd@kernel.org>
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 25 Feb 2025 21:09:23 +0100 you wrote:
> From: Arnd Bergmann <arnd@arndb.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
prev parent reply other threads:[~2025-02-28 1:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-25 20:09 [PATCH] net: qed: make 'qed_ll2_ops_pass' as __maybe_unused Arnd Bergmann
2025-02-27 18:33 ` Simon Horman
2025-02-28 1:29 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174070615227.1621364.9825668679002642770.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manishc@marvell.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).