tree:
https://android.googlesource.com/kernel/common android12-5.10-2021-08
head: 62a5f8e3accffd371afdff1652975e80d7dab30e
commit: 357700fcc3b51b66e2a790c5bb036d97916086af [7519/10754] FROMGIT:
userfaultfd/selftests: add test exercising minor fault handling
config: i386-randconfig-a012-20210816 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
2c6448cdc2f68f8c28fd0bd9404182b81306e6e6)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10-2021-08
git checkout 357700fcc3b51b66e2a790c5bb036d97916086af
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=i386
SHELL=/bin/bash -C tools/testing/selftests/vm install
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> userfaultfd.c:373:45: error: expected ')'
"UFFDIO_CONTINUE failed for address 0x%" PRIx64
"\n",
^
userfaultfd.c:372:10: note: to match this '('
fprintf(stderr,
^
> userfaultfd.c:597:3: error: use of undeclared identifier
'uint8_t'
uint8_t *area;
^
> userfaultfd.c:597:12: error: use of undeclared identifier
'area'
uint8_t *area;
^
userfaultfd.c:612:3: error: use of undeclared identifier 'area'
area = (uint8_t *)(area_dst +
^
> userfaultfd.c:612:20: error: expected expression
area = (uint8_t *)(area_dst +
^
userfaultfd.c:612:11: error: use of undeclared identifier 'uint8_t'
area = (uint8_t *)(area_dst +
^
userfaultfd.c:616:4: error: use of undeclared identifier 'area'
area[b] = ~area[b];
^
userfaultfd.c:616:15: error: use of undeclared identifier 'area'
area[b] = ~area[b];
^
> userfaultfd.c:827:33: error: unknown type name 'uint64_t'
static int userfaultfd_open_ext(uint64_t *features)
^
userfaultfd.c:854:29: error: unknown type name 'uint64_t'
static int userfaultfd_open(uint64_t features)
^
userfaultfd.c:1288:9: error: expected ';' after expression
uint8_t expected_byte;
^
;
userfaultfd.c:1288:2: error: use of undeclared identifier 'uint8_t'
uint8_t expected_byte;
^
userfaultfd.c:1288:10: error: use of undeclared identifier 'expected_byte'
uint8_t expected_byte;
^
userfaultfd.c:1292:10: error: expected ';' after expression
uint64_t features = UFFD_FEATURE_MINOR_HUGETLBFS;
^
;
userfaultfd.c:1292:2: error: use of undeclared identifier 'uint64_t'
uint64_t features = UFFD_FEATURE_MINOR_HUGETLBFS;
^
userfaultfd.c:1292:11: error: use of undeclared identifier 'features'
uint64_t features = UFFD_FEATURE_MINOR_HUGETLBFS;
^
userfaultfd.c:1303:28: error: use of undeclared identifier 'features'
if (userfaultfd_open_ext(&features))
^
userfaultfd.c:1306:8: error: use of undeclared identifier 'features'
if (!(features & UFFD_FEATURE_MINOR_HUGETLBFS)) {
^
userfaultfd.c:1332:44: error: use of undeclared identifier 'uint8_t'
memset(area_dst + (p * page_size), p % ((uint8_t)-1),
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org