From: kernel test robot <lkp@intel.com>
To: Bala-Vignesh-Reddy <reddybalavignesh9979@gmail.com>
Cc: <oe-kbuild-all@lists.linux.dev>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Wei Yang <richard.weiyang@gmail.com>
Subject: [linux-next:master 10747/11041] tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h:56:10: fatal error: asm/types.h: No such file or directory
Date: Sat, 22 Nov 2025 22:05:15 +0800 [thread overview]
Message-ID: <aSHDG6rUzgKnVgO4@rli9-mobl> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d724c6f85e80a23ed46b7ebc6e38b527c09d64f5
commit: b5f70e33435e84a3e8302a5019612630a42dceab [10747/11041] selftests: complete kselftest include centralization
:::::: branch date: 31 hours ago
:::::: commit date: 2 days ago
config: riscv-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251122/202511222145.tL2NICpQ-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251122/202511222145.tL2NICpQ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202511222145.tL2NICpQ-lkp@intel.com/
Note: the linux-next/master HEAD d724c6f85e80a23ed46b7ebc6e38b527c09d64f5 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
In file included from proc-maps-race.c:26:
>> tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h:56:10: fatal error: asm/types.h: No such file or directory
56 | #include <asm/types.h>
| ^~~~~~~~~~~~~
compilation terminated.
--
In file included from get_syscall_info.c:10:
>> tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h:57:10: fatal error: ctype.h: No such file or directory
57 | #include <ctype.h>
| ^~~~~~~~~
compilation terminated.
--
In file included from hmm-tests.c:13:
>> tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h:57:10: fatal error: ctype.h: No such file or directory
57 | #include <ctype.h>
| ^~~~~~~~~
compilation terminated.
vm_util.c:2:10: fatal error: string.h: No such file or directory
2 | #include <string.h>
| ^~~~~~~~~~
compilation terminated.
thp_settings.c:2:10: fatal error: fcntl.h: No such file or directory
2 | #include <fcntl.h>
| ^~~~~~~~~
compilation terminated.
vim +56 tools/testing/selftests/../../../tools/testing/selftests/kselftest_harness.h
c99ee51a9d9716 tools/testing/selftests/seccomp/test_harness.h Kees Cook 2015-06-16 52
e80068be21824e tools/testing/selftests/kselftest_harness.h Kees Cook 2020-06-22 53 #ifndef _GNU_SOURCE
cee27ae5f1fb8b tools/testing/selftests/kselftest_harness.h Shuah Khan 2024-05-16 54 #define _GNU_SOURCE
e80068be21824e tools/testing/selftests/kselftest_harness.h Kees Cook 2020-06-22 55 #endif
369130b63178e0 tools/testing/selftests/kselftest_harness.h Mickaël Salaün 2017-08-07 @56 #include <asm/types.h>
65177e47d3035c tools/testing/selftests/kselftest_harness.h Jakub Kicinski 2023-01-25 @57 #include <ctype.h>
369130b63178e0 tools/testing/selftests/kselftest_harness.h Mickaël Salaün 2017-08-07 58 #include <errno.h>
73a3cde9767793 tools/testing/selftests/kselftest_harness.h Thomas Weißschuh 2025-05-05 59 #include <linux/unistd.h>
73a3cde9767793 tools/testing/selftests/kselftest_harness.h Thomas Weißschuh 2025-05-05 60 #include <poll.h>
369130b63178e0 tools/testing/selftests/kselftest_harness.h Mickaël Salaün 2017-08-07 61 #include <stdbool.h>
b5bb6d3068eabb tools/testing/selftests/seccomp/test_harness.h Kees Cook 2015-12-10 62 #include <stdint.h>
c99ee51a9d9716 tools/testing/selftests/seccomp/test_harness.h Kees Cook 2015-06-16 63 #include <stdio.h>
c99ee51a9d9716 tools/testing/selftests/seccomp/test_harness.h Kees Cook 2015-06-16 64 #include <stdlib.h>
c99ee51a9d9716 tools/testing/selftests/seccomp/test_harness.h Kees Cook 2015-06-16 65 #include <string.h>
0ef67a888375b0 tools/testing/selftests/kselftest_harness.h Kees Cook 2020-06-22 66 #include <sys/mman.h>
c99ee51a9d9716 tools/testing/selftests/seccomp/test_harness.h Kees Cook 2015-06-16 67 #include <sys/types.h>
c99ee51a9d9716 tools/testing/selftests/seccomp/test_harness.h Kees Cook 2015-06-16 68 #include <sys/wait.h>
c99ee51a9d9716 tools/testing/selftests/seccomp/test_harness.h Kees Cook 2015-06-16 69 #include <unistd.h>
c99ee51a9d9716 tools/testing/selftests/seccomp/test_harness.h Kees Cook 2015-06-16 70
:::::: The code at line 56 was first introduced by commit
:::::: 369130b63178e0e2f863a2da2a5ad0238ded6d9d selftests: Enhance kselftest_harness.h to print which assert failed
:::::: TO: Mickaël Salaün <mic@digikod.net>
:::::: CC: Shuah Khan <shuahkh@osg.samsung.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-11-22 14:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aSHDG6rUzgKnVgO4@rli9-mobl \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=reddybalavignesh9979@gmail.com \
--cc=richard.weiyang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox