]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selftests net: fix kselftest net fatal error
authorColeman Dietsch <dietschc@csp.edu>
Tue, 28 Jun 2022 17:47:44 +0000 (12:47 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Jun 2022 03:15:57 +0000 (20:15 -0700)
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.

Fixes: ac3475686b0f ("selftests net: fix bpf build error")
Signed-off-by: Coleman Dietsch <dietschc@csp.edu>
Link: https://lore.kernel.org/r/20220628174744.7908-1-dietschc@csp.edu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/bpf/Makefile

index 8a69c91fcca07eb69322b17450f9079cfa4d336d..8ccaf8732eb22d83b7ffb54902870704ee9cca84 100644 (file)
@@ -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