2021-01-05 15:24:52

by Menglong Dong

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

From: Menglong Dong <[email protected]>

'unistd.h' included in 'selftests/bpf/prog_tests/test_lsm.c' is
duplicated.

Signed-off-by: Menglong Dong <[email protected]>
---
tools/testing/selftests/bpf/prog_tests/test_lsm.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/bpf/prog_tests/test_lsm.c b/tools/testing/selftests/bpf/prog_tests/test_lsm.c
index 6ab29226c99b..2755e4f81499 100644
--- a/tools/testing/selftests/bpf/prog_tests/test_lsm.c
+++ b/tools/testing/selftests/bpf/prog_tests/test_lsm.c
@@ -10,7 +10,6 @@
#include <unistd.h>
#include <malloc.h>
#include <stdlib.h>
-#include <unistd.h>

#include "lsm.skel.h"

--
2.17.1


2021-01-05 23:03:30

by Martin KaFai Lau

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

On Tue, Jan 05, 2021 at 07:20:47AM -0800, [email protected] wrote:
> From: Menglong Dong <[email protected]>
>
> 'unistd.h' included in 'selftests/bpf/prog_tests/test_lsm.c' is
> duplicated.
It is for bpf-next. Please put a proper tag next time.

Acked-by: Martin KaFai Lau <[email protected]>

2021-01-08 20:22:46

by patchwork-bot+netdevbpf

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

Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Tue, 5 Jan 2021 07:20:47 -0800 you wrote:
> From: Menglong Dong <[email protected]>
>
> 'unistd.h' included in 'selftests/bpf/prog_tests/test_lsm.c' is
> duplicated.
>
> Signed-off-by: Menglong Dong <[email protected]>
>
> [...]

Here is the summary with links:
- selftests/bpf: remove duplicate include in test_lsm
https://git.kernel.org/bpf/bpf-next/c/17b75d3fe399

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