All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android12-5.4 16/27] userfaultfd.c:296:44: error: expected ')' before 'PRIx64'
@ 2021-07-02 21:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-02 21:59 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4057 bytes --]

tree:   https://android.googlesource.com/kernel/common android12-5.4
head:   2c6775a89bc167ea4c153db9ffc3b081d34a05b8
commit: 2b2f7d6a04d65c2ebd53f9e5d3de6b55635d57b6 [16/27] BACKPORT: FROMGIT: userfaultfd/selftests: add test exercising minor fault handling
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add android-common https://android.googlesource.com/kernel/common
        git fetch --no-tags android-common android12-5.4
        git checkout 2b2f7d6a04d65c2ebd53f9e5d3de6b55635d57b6
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 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@intel.com>

All errors (new ones prefixed by >>):

   userfaultfd.c: In function 'continue_range':
>> userfaultfd.c:296:44: error: expected ')' before 'PRIx64'
     296 |    "UFFDIO_CONTINUE failed for address 0x%" PRIx64 "\n",
         |                                            ^~~~~~~
         |                                            )
   userfaultfd.c:296:42: warning: spurious trailing '%' in format [-Wformat=]
     296 |    "UFFDIO_CONTINUE failed for address 0x%" PRIx64 "\n",
         |                                          ^
   userfaultfd.c: In function 'uffd_handle_page_fault':
>> userfaultfd.c:498:3: error: unknown type name 'uint8_t'; did you mean 'u_int8_t'?
     498 |   uint8_t *area;
         |   ^~~~~~~
         |   u_int8_t
>> userfaultfd.c:513:11: error: 'uint8_t' undeclared (first use in this function); did you mean 'u_int8_t'?
     513 |   area = (uint8_t *)(area_dst +
         |           ^~~~~~~
         |           u_int8_t
   userfaultfd.c:513:11: note: each undeclared identifier is reported only once for each function it appears in
>> userfaultfd.c:513:20: error: expected expression before ')' token
     513 |   area = (uint8_t *)(area_dst +
         |                    ^
   userfaultfd.c: At top level:
>> userfaultfd.c:699:33: error: unknown type name 'uint64_t'; did you mean 'u_int64_t'?
     699 | static int userfaultfd_open_ext(uint64_t *features)
         |                                 ^~~~~~~~
         |                                 u_int64_t
   userfaultfd.c:726:29: error: unknown type name 'uint64_t'; did you mean 'u_int64_t'?
     726 | static int userfaultfd_open(uint64_t features)
         |                             ^~~~~~~~
         |                             u_int64_t
   userfaultfd.c: In function 'userfaultfd_zeropage_test':
   userfaultfd.c:934:6: warning: implicit declaration of function 'userfaultfd_open' [-Wimplicit-function-declaration]
     934 |  if (userfaultfd_open(0) < 0)
         |      ^~~~~~~~~~~~~~~~
   userfaultfd.c: In function 'userfaultfd_minor_test':
   userfaultfd.c:1093:2: error: unknown type name 'uint8_t'; did you mean 'u_int8_t'?
    1093 |  uint8_t expected_byte;
         |  ^~~~~~~
         |  u_int8_t
   userfaultfd.c:1096:2: error: unknown type name 'uint64_t'; did you mean 'u_int64_t'?
    1096 |  uint64_t features = UFFD_FEATURE_MINOR_HUGETLBFS;
         |  ^~~~~~~~
         |  u_int64_t
   userfaultfd.c:1107:6: warning: implicit declaration of function 'userfaultfd_open_ext'; did you mean 'userfaultfd_sig_test'? [-Wimplicit-function-declaration]
    1107 |  if (userfaultfd_open_ext(&features))
         |      ^~~~~~~~~~~~~~~~~~~~
         |      userfaultfd_sig_test
   userfaultfd.c:1136:44: error: 'uint8_t' undeclared (first use in this function); did you mean 'u_int8_t'?
    1136 |   memset(area_dst + (p * page_size), p % ((uint8_t)-1),
         |                                            ^~~~~~~
         |                                            u_int8_t

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37681 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-02 21:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02 21:59 [android-common:android12-5.4 16/27] userfaultfd.c:296:44: error: expected ')' before 'PRIx64' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.