2023-01-31 06:54:41

by ye.xingchen

[permalink] [raw]
Subject: [PATCH] selftests/bpf: remove duplicate include header in files

From: ye xingchen <[email protected]>

linux/net_tstamp.h is included more than once.

Signed-off-by: ye xingchen <[email protected]>
---
tools/testing/selftests/bpf/xdp_hw_metadata.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/bpf/xdp_hw_metadata.c b/tools/testing/selftests/bpf/xdp_hw_metadata.c
index 3823b1c499cc..184046021114 100644
--- a/tools/testing/selftests/bpf/xdp_hw_metadata.c
+++ b/tools/testing/selftests/bpf/xdp_hw_metadata.c
@@ -24,7 +24,6 @@
#include <linux/net_tstamp.h>
#include <linux/udp.h>
#include <linux/sockios.h>
-#include <linux/net_tstamp.h>
#include <sys/mman.h>
#include <net/if.h>
#include <poll.h>
--
2.25.1


2023-02-02 11:10:46

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] selftests/bpf: remove duplicate include header in files

Hello:

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

On Tue, 31 Jan 2023 14:40:51 +0800 (CST) you wrote:
> From: ye xingchen <[email protected]>
>
> linux/net_tstamp.h is included more than once.
>
> Signed-off-by: ye xingchen <[email protected]>
> ---
> tools/testing/selftests/bpf/xdp_hw_metadata.c | 1 -
> 1 file changed, 1 deletion(-)

Here is the summary with links:
- selftests/bpf: remove duplicate include header in files
https://git.kernel.org/bpf/bpf-next/c/4bc32df7a9c3

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