2021-07-26 23:51:29

by kernel test robot

[permalink] [raw]
Subject: [brauner:for-next 2/2] move_mount_set_group_test.c:3:10: fatal error: sched.h: No such file or directory

tree: https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git for-next
head: 8374f43123a5957326095d108a12c49ae509624f
commit: 8374f43123a5957326095d108a12c49ae509624f [2/2] tests: add move_mount(MOVE_MOUNT_SET_GROUP) selftest
config: openrisc-randconfig-s031-20210726 (attached as .config)
compiler: or1k-linux-gcc (GCC) 10.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git/commit/?id=8374f43123a5957326095d108a12c49ae509624f
git remote add brauner https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git
git fetch --no-tags brauner for-next
git checkout 8374f43123a5957326095d108a12c49ae509624f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=openrisc SHELL=/bin/bash -C tools/testing/selftests install

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

>> move_mount_set_group_test.c:3:10: fatal error: sched.h: No such file or directory
3 | #include <sched.h>
| ^~~~~~~~~
compilation terminated.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]


Attachments:
(No filename) (1.59 kB)
.config.gz (32.45 kB)
Download all attachments

2021-07-27 07:11:51

by Christian Brauner

[permalink] [raw]
Subject: Re: [brauner:for-next 2/2] move_mount_set_group_test.c:3:10: fatal error: sched.h: No such file or directory

On Tue, Jul 27, 2021 at 07:48:28AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git for-next
> head: 8374f43123a5957326095d108a12c49ae509624f
> commit: 8374f43123a5957326095d108a12c49ae509624f [2/2] tests: add move_mount(MOVE_MOUNT_SET_GROUP) selftest
> config: openrisc-randconfig-s031-20210726 (attached as .config)
> compiler: or1k-linux-gcc (GCC) 10.3.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # apt-get install sparse
> # sparse version: v0.6.3-341-g8af24329-dirty
> # https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git/commit/?id=8374f43123a5957326095d108a12c49ae509624f
> git remote add brauner https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git
> git fetch --no-tags brauner for-next
> git checkout 8374f43123a5957326095d108a12c49ae509624f
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=openrisc SHELL=/bin/bash -C tools/testing/selftests install
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <[email protected]>
>
> All errors (new ones prefixed by >>):
>
> >> move_mount_set_group_test.c:3:10: fatal error: sched.h: No such file or directory
> 3 | #include <sched.h>

I can fix this up in my tree directly, Pavel. No need to resend.

Thanks!
Christian