Re: [PATCH net] selftests/net: tcp_mmap: remove unused -k option and keepflag

From: patchwork-bot+netdevbpf

Date: Fri Oct 23 2026 - 19:10:51 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 21 Oct 2026 08:26:58 -0700 you wrote:
> Commit aacb0c2e524c ("selftests: net: tcp_mmap must use
> TCP_ZEROCOPY_RECEIVE") removed the only read of keepflag in child_thread(),
> leaving the file-scope keepflag variable set by the -k option in main() but
> never read. This triggers a Clang 23 warning:
>
> tcp_mmap.c:91:12: error: variable 'keepflag' set but not used
> [-Werror,-Wunused-but-set-global]
>
> [...]

Here is the summary with links:
- [net] selftests/net: tcp_mmap: remove unused -k option and keepflag
https://git.kernel.org/netdev/net/c/5536d5553f27

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