]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: dmabuf-heaps: Fix incorrect kernel headers search path
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 27 Jan 2023 13:57:27 +0000 (08:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:34:18 +0000 (09:34 +0100)
commit77aaa42fce0062e7b262acf5f43c2d81e32aa399
tree16941ea2d54936e0c4418d785e51eaa45d178bfb
parentb13b15935de955a694106b8ebf26714d0cf3419a
selftests: dmabuf-heaps: Fix incorrect kernel headers search path

commit 857bf2cb645719b20ddd1acae24a1e8a94814f94 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@efficios.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Cc: Ingo Molnar <mingo@redhat.com>
Cc: <stable@vger.kernel.org> # 5.18+
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/dmabuf-heaps/Makefile
tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c