Skip to contentSkip to conversation

selftest/bpf/benchs: Remove duplicate sys/types.h header

PATCH Applied Jiapeng Chong 2 participants 2 messages Apr 15, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftest/bpf/benchs: Remove duplicate sys/types.h header

./tools/testing/selftests/bpf/benchs/bench_sockmap.c: sys/types.h is included more than once.

---
 tools/testing/selftests/bpf/benchs/bench_sockmap.c | 1 -
 1 file changed, 1 deletion(-)
tools/testing/selftests/bpf/benchs/bench_sockmap.c +0 -1
index 54f4e7c03cd2..8ebf563a67a2 100644
@@ -3,7 +3,6 @@
 #include <error.h>
 #include <sys/types.h>
 #include <sys/socket.h>
-#include <sys/types.h>
 #include <netinet/in.h>
 #include <sys/sendfile.h>
 #include <arpa/inet.h>
Signature · 1 line
2.32.0.3.g01195cf9f
#1 lore raw
This patch was applied to bpf/bpf-next.git (master) by Martin KaFai Lau <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Martin KaFai Lau <[email protected]>:

Quoted 8 lines · On Tue, 15 Apr 2025 14:14:59 +0800 you wrote:

./tools/testing/selftests/bpf/benchs/bench_sockmap.c: sys/types.h is included more than once.

---
 tools/testing/selftests/bpf/benchs/bench_sockmap.c | 1 -
 1 file changed, 1 deletion(-)

Here is the summary with links:
- [-next] selftest/bpf/benchs: Remove duplicate sys/types.h header

    https://git.kernel.org/bpf/bpf-next/c/7d0b43b68d1c

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html