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

Subsystems: bpf [general] (safe dynamic programs and tools), bpf [selftests] (test runners & infrastructure), kernel selftest framework, the rest

STALE2049d LANDED

Landed in mainline as 9a8120a8d7eb on 2021-01-08.

3 messages, 3 authors, 2021-01-08 · open the first message on its own page

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

From: <hidden>
Date: 2021-01-05 15:22:50

From: Menglong Dong <redacted>

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

Signed-off-by: Menglong Dong <redacted>
---
 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

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

From: Martin KaFai Lau <hidden>
Date: 2021-01-05 20:51:01

On Tue, Jan 05, 2021 at 07:20:47AM -0800, menglong8.dong@gmail.com wrote:
From: Menglong Dong <redacted>

'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 <redacted>

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-01-08 20:21:07

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 <redacted>

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

Signed-off-by: Menglong Dong <redacted>

[...]
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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help