Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Fri, 23 Oct 2026 23:10
Re: [PATCH net] selftests/net: tcp_mmap: remove unused -k option and keepflag
Author: patchwork-bot+netdevbpf
Date: Fri, 23 Oct 2026 23:10
Date: Fri, 23 Oct 2026 23:10
25 lines
8722 bytes
8722 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads