From 64de01a8cbdd7f75045873e45de85a7812d82aad Mon Sep 17 00:00:00 2001 From: Ihor Solodrai Date: Thu, 2 Apr 2026 17:46:11 -0700 Subject: [PATCH] ci/diffs: Add patch for test_kmods build Signed-off-by: Ihor Solodrai --- ...selftests-bpf-fix-KDIR-in-test_kmofs.patch | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ci/diffs/20260402-selftests-bpf-fix-KDIR-in-test_kmofs.patch diff --git a/ci/diffs/20260402-selftests-bpf-fix-KDIR-in-test_kmofs.patch b/ci/diffs/20260402-selftests-bpf-fix-KDIR-in-test_kmofs.patch new file mode 100644 index 00000000..1b7101c8 --- /dev/null +++ b/ci/diffs/20260402-selftests-bpf-fix-KDIR-in-test_kmofs.patch @@ -0,0 +1,23 @@ +From c3b059aa07fadec87653996ceae5013f63ba03ad Mon Sep 17 00:00:00 2001 +From: Ihor Solodrai +Date: Thu, 2 Apr 2026 17:44:19 -0700 +Subject: [PATCH] selftests/bpf: fix KDIR in test_kmofs + +--- + tools/testing/selftests/bpf/test_kmods/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/testing/selftests/bpf/test_kmods/Makefile b/tools/testing/selftests/bpf/test_kmods/Makefile +index 63c4d3f6a12f..c2246263ed8d 100644 +--- a/tools/testing/selftests/bpf/test_kmods/Makefile ++++ b/tools/testing/selftests/bpf/test_kmods/Makefile +@@ -1,5 +1,5 @@ + TEST_KMOD_DIR := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST))))) +-KDIR ?= $(abspath $(TEST_KMOD_DIR)/../../../../..) ++KDIR := $(abspath $(TEST_KMOD_DIR)/../../../../..) + + ifeq ($(V),1) + Q = +-- +2.53.0 +