The quilt patch titled Subject: Documentation: kselftest: "make headers" is a prerequisite has been removed from the -mm tree. Its filename was documentation-kselftest-make-headers-is-a-prerequisite.patch This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: John Hubbard <jhubbard@xxxxxxxxxx> Subject: Documentation: kselftest: "make headers" is a prerequisite Date: Tue, 6 Jun 2023 00:16:36 -0700 As per a discussion with Muhammad Usama Anjum [1], the following is how one is supposed to build selftests: make headers && make -C tools/testing/selftests/mm However, that's not yet documented anywhere. So add it to Documentation/dev-tools/kselftest.rst . [1] https://lore.kernel.org/all/bf910fa5-0c96-3707-cce4-5bcc656b6274@xxxxxxxxxxxxx/ Link: https://lkml.kernel.org/r/20230606071637.267103-11-jhubbard@xxxxxxxxxx Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx> Reviewed-by: David Hildenbrand <david@xxxxxxxxxx> Tested-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx> Cc: Peter Xu <peterx@xxxxxxxxxx> Cc: Jonathan Corbet <corbet@xxxxxxx> Cc: Nathan Chancellor <nathan@xxxxxxxxxx> Cc: Shuah Khan <shuah@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/dev-tools/kselftest.rst | 1 + 1 file changed, 1 insertion(+) --- a/Documentation/dev-tools/kselftest.rst~documentation-kselftest-make-headers-is-a-prerequisite +++ a/Documentation/dev-tools/kselftest.rst @@ -36,6 +36,7 @@ Running the selftests (hotplug tests are To build the tests:: + $ make headers $ make -C tools/testing/selftests To run the tests:: _ Patches currently in -mm which might be from jhubbard@xxxxxxxxxx are