Re: [PATCH] pktgen: avoid unused-const-variable warning

From: patchwork-bot+netdevbpf
Date: Thu Feb 27 2025 - 07:13:12 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Tue, 25 Feb 2025 09:57:14 +0100 you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> When extra warnings are enable, there are configurations that build
> pktgen without CONFIG_XFRM, which leaves a static const variable unused:
>
> net/core/pktgen.c:213:1: error: unused variable 'F_IPSEC' [-Werror,-Wunused-const-variable]
> 213 | PKT_FLAGS
> | ^~~~~~~~~
> net/core/pktgen.c:197:2: note: expanded from macro 'PKT_FLAGS'
> 197 | pf(IPSEC) /* ipsec on for flows */ \
> | ^~~~~~~~~
>
> [...]

Here is the summary with links:
- pktgen: avoid unused-const-variable warning
https://git.kernel.org/netdev/net-next/c/af4a5da8ed54

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html