Message ID | 20250415061459.11644-1-jiapeng.chong@linux.alibaba.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [-next] selftest/bpf/benchs: Remove duplicate sys/types.h header | expand |
Hello: This patch was applied to bpf/bpf-next.git (master) by Martin KaFai Lau <martin.lau@kernel.org>: 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. > > 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> > --- > 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!
diff --git a/tools/testing/selftests/bpf/benchs/bench_sockmap.c b/tools/testing/selftests/bpf/benchs/bench_sockmap.c index 54f4e7c03cd2..8ebf563a67a2 100644 --- a/tools/testing/selftests/bpf/benchs/bench_sockmap.c +++ b/tools/testing/selftests/bpf/benchs/bench_sockmap.c @@ -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>
./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> --- tools/testing/selftests/bpf/benchs/bench_sockmap.c | 1 - 1 file changed, 1 deletion(-)