This is a note to let you know that I've just added the patch titled selftests: gpio: Fix incorrect kernel headers search path to the 6.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: selftests-gpio-fix-incorrect-kernel-headers-search-path.patch and it can be found in the queue-6.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 8bb9c1808628babcc7b99ec2439bf102379bd4ac Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> Date: Fri, 27 Jan 2023 08:57:31 -0500 Subject: selftests: gpio: Fix incorrect kernel headers search path From: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> commit 8bb9c1808628babcc7b99ec2439bf102379bd4ac upstream. Use $(KHDR_INCLUDES) as lookup path for kernel headers. This prevents building against kernel headers from the build environment in scenarios where kernel headers are installed into a specific output directory (O=...). Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> Cc: Shuah Khan <shuah@xxxxxxxxxx> Cc: linux-kselftest@xxxxxxxxxxxxxxx Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> # 5.18+ Signed-off-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/gpio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/testing/selftests/gpio/Makefile +++ b/tools/testing/selftests/gpio/Makefile @@ -3,6 +3,6 @@ TEST_PROGS := gpio-mockup.sh gpio-sim.sh TEST_FILES := gpio-mockup-sysfs.sh TEST_GEN_PROGS_EXTENDED := gpio-mockup-cdev gpio-chip-info gpio-line-name -CFLAGS += -O2 -g -Wall -I../../../../usr/include/ $(KHDR_INCLUDES) +CFLAGS += -O2 -g -Wall $(KHDR_INCLUDES) include ../lib.mk Patches currently in stable-queue which might be from mathieu.desnoyers@xxxxxxxxxxxx are queue-6.1/srcu-delegate-work-to-the-boot-cpu-if-using-srcu_siz.patch queue-6.1/selftests-filesystems-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-ipc-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-seccomp-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-kcmp-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-x86-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-perf_events-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-arm64-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-sched-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-dmabuf-heaps-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-futex-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-sync-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-vm-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-media_tests-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-gpio-fix-incorrect-kernel-headers-search-path.patch queue-6.1/rcu-make-rcu_lockdep_warn-avoid-early-lockdep-checks.patch queue-6.1/selftests-membarrier-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-mount_setattr-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-rseq-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-core-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-user_events-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-powerpc-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-clone3-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-ptp-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-drivers-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-move_mount_set_group-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-pid_namespace-fix-incorrect-kernel-headers-search-path.patch queue-6.1/selftests-pidfd-fix-incorrect-kernel-headers-search-path.patch