Skip to content

selftests: Fix incorrect kernel headers search path

Mathieu Desnoyers bpf linux-arm-kernel linux-iommu linux-kselftest linux-mm linuxppc-dev lkml netdev stable 1 version Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest34 patches 28 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/34selftests: arm64: Fix incorrect kernel headers search pathtools/testing/selftests/arm64/fp/Makefile tools/testing/selftests/arm64/tags/Makefile+2 -23 replies
2/34selftests: bpf: Fix incorrect kernel headers search pathtools/testing/selftests/bpf/Makefile+1 -14 replies
3/34selftests: clone3: Fix incorrect kernel headers search pathtools/testing/selftests/clone3/Makefile+1 -12 replies
4/34selftests: core: Fix incorrect kernel headers search pathtools/testing/selftests/core/Makefile+1 -10 replies
5/34selftests: dma: Fix incorrect kernel headers search pathtools/testing/selftests/dma/Makefile+1 -10 replies
6/34selftests: dmabuf-heaps: Fix incorrect kernel headers search pathtools/testing/selftests/dmabuf-heaps/Makefile tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c+2 -30 replies
7/34selftests: drivers: Fix incorrect kernel headers search pathtools/testing/selftests/drivers/dma-buf/Makefile tools/testing/selftests/drivers/s390x/uvdevice/Makefile+2 -30 replies
8/34selftests: filesystems: Fix incorrect kernel headers search pathtools/testing/selftests/filesystems/Makefile tools/testing/selftests/filesystems/binderfs/Makefile tools/testing/selftests/filesystems/epoll/Makefile+3 -30 replies
9/34selftests: futex: Fix incorrect kernel headers search pathtools/testing/selftests/futex/functional/Makefile+1 -10 replies
10/34selftests: gpio: Fix incorrect kernel headers search pathtools/testing/selftests/gpio/Makefile+1 -10 replies
11/34selftests: ipc: Fix incorrect kernel headers search pathtools/testing/selftests/ipc/Makefile+1 -10 replies
12/34selftests: kcmp: Fix incorrect kernel headers search pathtools/testing/selftests/kcmp/Makefile+1 -10 replies
13/34selftests: media_tests: Fix incorrect kernel headers search pathtools/testing/selftests/media_tests/Makefile+1 -10 replies
14/34selftests: membarrier: Fix incorrect kernel headers search pathtools/testing/selftests/membarrier/Makefile+1 -10 replies
15/34selftests: mount_setattr: Fix incorrect kernel headers search pathtools/testing/selftests/mount_setattr/Makefile+1 -10 replies
16/34selftests: move_mount_set_group: Fix incorrect kernel headers search pathtools/testing/selftests/move_mount_set_group/Makefile+1 -10 replies
17/34selftests: net: Fix incorrect kernel headers search pathtools/testing/selftests/net/Makefile tools/testing/selftests/net/bpf/Makefile tools/testing/selftests/net/mptcp/Makefile +1 more+4 -43 replies
18/34selftests: perf_events: Fix incorrect kernel headers search pathtools/testing/selftests/perf_events/Makefile+1 -10 replies
19/34selftests: pid_namespace: Fix incorrect kernel headers search pathtools/testing/selftests/pid_namespace/Makefile+1 -10 replies
20/34selftests: pidfd: Fix incorrect kernel headers search pathtools/testing/selftests/pidfd/Makefile+1 -10 replies
21/34selftests: powerpc: Fix incorrect kernel headers search pathtools/testing/selftests/powerpc/ptrace/Makefile tools/testing/selftests/powerpc/security/Makefile tools/testing/selftests/powerpc/syscalls/Makefile +1 more+4 -41 reply
22/34selftests: ptp: Fix incorrect kernel headers search pathtools/testing/selftests/ptp/Makefile+1 -10 replies
23/34selftests: rseq: Fix incorrect kernel headers search pathtools/testing/selftests/rseq/Makefile+1 -10 replies
24/34selftests: sched: Fix incorrect kernel headers search pathtools/testing/selftests/sched/Makefile+1 -10 replies
25/34selftests: seccomp: Fix incorrect kernel headers search pathtools/testing/selftests/seccomp/Makefile+1 -11 reply
26/34selftests: sync: Fix incorrect kernel headers search pathtools/testing/selftests/sync/Makefile+1 -12 replies
27/34selftests: user_events: Fix incorrect kernel headers search pathtools/testing/selftests/user_events/Makefile+1 -10 replies
28/34selftests: vm: Fix incorrect kernel headers search pathtools/testing/selftests/vm/Makefile+1 -11 reply
29/34selftests: x86: Fix incorrect kernel headers search pathtools/testing/selftests/x86/Makefile+1 -10 replies
30/34selftests: bpf docs: Use installed kernel headers search pathtools/testing/selftests/bpf/Makefile.docs+1 -11 reply
31/34selftests: iommu: Use installed kernel headers search pathtools/testing/selftests/iommu/Makefile+1 -22 replies
32/34selftests: memfd: Use installed kernel headers search pathtools/testing/selftests/memfd/Makefile+1 -30 replies
33/34selftests: ptrace: Use installed kernel headers search pathtools/testing/selftests/ptrace/Makefile+1 -10 replies
34/34selftests: tdx: Use installed kernel headers search pathtools/testing/selftests/tdx/Makefile tools/testing/selftests/tdx/tdx_guest_test.c+2 -20 replies

Reviews trailers per patch

10 of 34 patches have a Reviewed-by or Acked-by.

PatchShuah KhanChristian BraunerCatalin Marinas
1/34A-b A-b
2/34A-b
3/34A-b A-b
4/34
5/34
6/34
7/34
8/34
9/34
10/34
11/34
12/34
13/34
14/34
15/34
16/34
17/34A-b
18/34
19/34
20/34
21/34A-b
22/34
23/34
24/34
25/34A-b
26/34A-b
27/34
28/34A-b
29/34
30/34A-b
31/34A-b
32/34
33/34
34/34

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/34] selftests: Fix incorrect kernel headers search path

Hi,

This series fixes incorrect kernel header search path in kernel selftests.

Near the end of the series, a few changes are not tagged as "Fixes" because the current behavior is to rely on the kernel sources uapi files rather than on the installed kernel header files. Nevertheless, those are updated for consistency.

There are situations where "../../../../include/" was added to -I search path, which is bogus for userspace tests and caused issues with types.h. Those are removed.

Thanks,

Mathieu

Mathieu Desnoyers (34):
selftests: arm64: Fix incorrect kernel headers search path
selftests: bpf: Fix incorrect kernel headers search path
selftests: clone3: Fix incorrect kernel headers search path
selftests: core: Fix incorrect kernel headers search path
selftests: dma: Fix incorrect kernel headers search path
selftests: dmabuf-heaps: Fix incorrect kernel headers search path
selftests: drivers: Fix incorrect kernel headers search path
selftests: filesystems: Fix incorrect kernel headers search path
selftests: futex: Fix incorrect kernel headers search path
selftests: gpio: Fix incorrect kernel headers search path
selftests: ipc: Fix incorrect kernel headers search path
selftests: kcmp: Fix incorrect kernel headers search path
selftests: media_tests: Fix incorrect kernel headers search path
selftests: membarrier: Fix incorrect kernel headers search path
selftests: mount_setattr: Fix incorrect kernel headers search path
selftests: move_mount_set_group: Fix incorrect kernel headers search
path
selftests: net: Fix incorrect kernel headers search path
selftests: perf_events: Fix incorrect kernel headers search path
selftests: pid_namespace: Fix incorrect kernel headers search path
selftests: pidfd: Fix incorrect kernel headers search path
selftests: powerpc: Fix incorrect kernel headers search path
selftests: ptp: Fix incorrect kernel headers search path
selftests: rseq: Fix incorrect kernel headers search path
selftests: sched: Fix incorrect kernel headers search path
selftests: seccomp: Fix incorrect kernel headers search path
selftests: sync: Fix incorrect kernel headers search path
selftests: user_events: Fix incorrect kernel headers search path
selftests: vm: Fix incorrect kernel headers search path
selftests: x86: Fix incorrect kernel headers search path
selftests: bpf docs: Use installed kernel headers search path
selftests: iommu: Use installed kernel headers search path
selftests: memfd: Use installed kernel headers search path
selftests: ptrace: Use installed kernel headers search path
selftests: tdx: Use installed kernel headers search path

 tools/testing/selftests/arm64/fp/Makefile               | 2 +-
 tools/testing/selftests/arm64/tags/Makefile             | 2 +-
 tools/testing/selftests/bpf/Makefile                    | 2 +-
 tools/testing/selftests/bpf/Makefile.docs               | 2 +-
 tools/testing/selftests/clone3/Makefile                 | 2 +-
 tools/testing/selftests/core/Makefile                   | 2 +-
 tools/testing/selftests/dma/Makefile                    | 2 +-
 tools/testing/selftests/dmabuf-heaps/Makefile           | 2 +-
 tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c      | 3 +--
 tools/testing/selftests/drivers/dma-buf/Makefile        | 2 +-
 tools/testing/selftests/drivers/s390x/uvdevice/Makefile | 3 +--
 tools/testing/selftests/filesystems/Makefile            | 2 +-
 tools/testing/selftests/filesystems/binderfs/Makefile   | 2 +-
 tools/testing/selftests/filesystems/epoll/Makefile      | 2 +-
 tools/testing/selftests/futex/functional/Makefile       | 2 +-
 tools/testing/selftests/gpio/Makefile                   | 2 +-
 tools/testing/selftests/iommu/Makefile                  | 3 +--
 tools/testing/selftests/ipc/Makefile                    | 2 +-
 tools/testing/selftests/kcmp/Makefile                   | 2 +-
 tools/testing/selftests/media_tests/Makefile            | 2 +-
 tools/testing/selftests/membarrier/Makefile             | 2 +-
 tools/testing/selftests/memfd/Makefile                  | 4 +---
 tools/testing/selftests/mount_setattr/Makefile          | 2 +-
 tools/testing/selftests/move_mount_set_group/Makefile   | 2 +-
 tools/testing/selftests/net/Makefile                    | 2 +-
 tools/testing/selftests/net/bpf/Makefile                | 2 +-
 tools/testing/selftests/net/mptcp/Makefile              | 2 +-
 tools/testing/selftests/net/openvswitch/Makefile        | 2 +-
 tools/testing/selftests/perf_events/Makefile            | 2 +-
 tools/testing/selftests/pid_namespace/Makefile          | 2 +-
 tools/testing/selftests/pidfd/Makefile                  | 2 +-
 tools/testing/selftests/powerpc/ptrace/Makefile         | 2 +-
 tools/testing/selftests/powerpc/security/Makefile       | 2 +-
 tools/testing/selftests/powerpc/syscalls/Makefile       | 2 +-
 tools/testing/selftests/powerpc/tm/Makefile             | 2 +-
 tools/testing/selftests/ptp/Makefile                    | 2 +-
 tools/testing/selftests/ptrace/Makefile                 | 2 +-
 tools/testing/selftests/rseq/Makefile                   | 2 +-
 tools/testing/selftests/sched/Makefile                  | 2 +-
 tools/testing/selftests/seccomp/Makefile                | 2 +-
 tools/testing/selftests/sync/Makefile                   | 2 +-
 tools/testing/selftests/tdx/Makefile                    | 2 +-
 tools/testing/selftests/tdx/tdx_guest_test.c            | 2 +-
 tools/testing/selftests/user_events/Makefile            | 2 +-
 tools/testing/selftests/vm/Makefile                     | 2 +-
 tools/testing/selftests/x86/Makefile                    | 2 +-
 46 files changed, 46 insertions(+), 51 deletions(-)
Signature · 1 line
2.25.1