Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=20436
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250415061459.11644-1-jiapeng.chong@linux.alibaba.com

authored by

Jiapeng Chong and committed by
Martin KaFai Lau
7d0b43b6 a27a97f7

-1
-1
tools/testing/selftests/bpf/benchs/bench_sockmap.c
··· 3 3 #include <error.h> 4 4 #include <sys/types.h> 5 5 #include <sys/socket.h> 6 - #include <sys/types.h> 7 6 #include <netinet/in.h> 8 7 #include <sys/sendfile.h> 9 8 #include <arpa/inet.h>