diff mbox series

selftests net: fix kselftest net fatal error

Message ID 20220628174744.7908-1-dietschc@csp.edu (mailing list archive)
State Accepted
Commit 7b92aa9e613508cbaa29dd35bf27db4c35628b10
Headers show
Series selftests net: fix kselftest net fatal error | expand

Commit Message

Coleman Dietsch June 28, 2022, 5:47 p.m. UTC
The incorrect path is causing the following error when trying to run net
kselftests:

In file included from bpf/nat6to4.c:43:
../../../lib/bpf/bpf_helpers.h:11:10: fatal error: 'bpf_helper_defs.h' file not found
         ^~~~~~~~~~~~~~~~~~~
1 error generated.

Signed-off-by: Coleman Dietsch <dietschc@csp.edu>
---
 tools/testing/selftests/net/bpf/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 30, 2022, 3:20 a.m. UTC | #1
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 28 Jun 2022 12:47:44 -0500 you wrote:
> The incorrect path is causing the following error when trying to run net
> kselftests:
> 
> In file included from bpf/nat6to4.c:43:
> ../../../lib/bpf/bpf_helpers.h:11:10: fatal error: 'bpf_helper_defs.h' file not found
>          ^~~~~~~~~~~~~~~~~~~
> 1 error generated.
> 
> [...]

Here is the summary with links:
  - selftests net: fix kselftest net fatal error
    https://git.kernel.org/netdev/net/c/7b92aa9e6135

You are awesome, thank you!
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/bpf/Makefile b/tools/testing/selftests/net/bpf/Makefile
index 8a69c91fcca0..8ccaf8732eb2 100644
--- a/tools/testing/selftests/net/bpf/Makefile
+++ b/tools/testing/selftests/net/bpf/Makefile
@@ -2,7 +2,7 @@ 
 
 CLANG ?= clang
 CCINCLUDE += -I../../bpf
-CCINCLUDE += -I../../../lib
+CCINCLUDE += -I../../../../lib
 CCINCLUDE += -I../../../../../usr/include/
 
 TEST_CUSTOM_PROGS = $(OUTPUT)/bpf/nat6to4.o