* [android-common:android12-5.10 7529/10575] userfaultfd.c:556:36: error: expected ')' before 'PRId64'
@ 2021-07-13 0:29 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-13 0:29 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 9571 bytes --]
Hi Peter,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android12-5.10
head: 1f0c32a6679e6346c36c0f45db674600a9e3060a
commit: 606bb053823378adbd12fd8a31af7309250daedb [7529/10575] BACKPORT: FROMGIT: userfaultfd/selftests: unify error 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.10
git checkout 606bb053823378adbd12fd8a31af7309250daedb
# 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:345:29: error: unknown type name 'uint64_t'; did you mean 'u_int64_t'?
345 | static int userfaultfd_open(uint64_t *features)
| ^~~~~~~~
| u_int64_t
userfaultfd.c:366:35: error: unknown type name 'uint64_t'; did you mean 'u_int64_t'?
366 | static int uffd_test_ctx_init_ext(uint64_t *features)
| ^~~~~~~~
| u_int64_t
userfaultfd.c:411:38: error: unknown type name 'uint64_t'; did you mean 'u_int64_t'?
411 | static inline int uffd_test_ctx_init(uint64_t features)
| ^~~~~~~~
| u_int64_t
userfaultfd.c: In function 'wp_range':
userfaultfd.c:480:37: error: expected ')' before 'PRIx64'
480 | err("clear WP failed: address=0x%"PRIx64, (uint64_t)start);
| ^~~~~~
userfaultfd.c:146:29: note: in definition of macro '_err'
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:480:3: note: in expansion of macro 'err'
480 | err("clear WP failed: address=0x%"PRIx64, (uint64_t)start);
| ^~~
userfaultfd.c:146:19: warning: spurious trailing '%' in format [-Wformat=]
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~~~~~~~
userfaultfd.c:153:3: note: in expansion of macro '_err'
153 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:480:3: note: in expansion of macro 'err'
480 | err("clear WP failed: address=0x%"PRIx64, (uint64_t)start);
| ^~~
userfaultfd.c:480:35: note: format string is defined here
480 | err("clear WP failed: address=0x%"PRIx64, (uint64_t)start);
| ^
userfaultfd.c: In function 'continue_range':
userfaultfd.c:492:48: error: expected ')' before 'PRIx64'
492 | err("UFFDIO_CONTINUE failed for address 0x%" PRIx64,
| ^~~~~~
userfaultfd.c:146:29: note: in definition of macro '_err'
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:492:3: note: in expansion of macro 'err'
492 | err("UFFDIO_CONTINUE failed for address 0x%" PRIx64,
| ^~~
userfaultfd.c:146:19: warning: spurious trailing '%' in format [-Wformat=]
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~~~~~~~
userfaultfd.c:153:3: note: in expansion of macro '_err'
153 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:492:3: note: in expansion of macro 'err'
492 | err("UFFDIO_CONTINUE failed for address 0x%" PRIx64,
| ^~~
userfaultfd.c:492:45: note: format string is defined here
492 | err("UFFDIO_CONTINUE failed for address 0x%" PRIx64,
| ^
userfaultfd.c: In function 'retry_copy_page':
>> userfaultfd.c:556:36: error: expected ')' before 'PRId64'
556 | err("UFFDIO_COPY retry error: %"PRId64,
| ^~~~~~
userfaultfd.c:146:29: note: in definition of macro '_err'
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:556:4: note: in expansion of macro 'err'
556 | err("UFFDIO_COPY retry error: %"PRId64,
| ^~~
userfaultfd.c:146:19: warning: spurious trailing '%' in format [-Wformat=]
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~~~~~~~
userfaultfd.c:153:3: note: in expansion of macro '_err'
153 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:556:4: note: in expansion of macro 'err'
556 | err("UFFDIO_COPY retry error: %"PRId64,
| ^~~
userfaultfd.c:556:34: note: format string is defined here
556 | err("UFFDIO_COPY retry error: %"PRId64,
| ^
userfaultfd.c:559:40: error: expected ')' before 'PRId64'
559 | err("UFFDIO_COPY retry unexpected: %"PRId64,
| ^~~~~~
userfaultfd.c:146:29: note: in definition of macro '_err'
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:559:3: note: in expansion of macro 'err'
559 | err("UFFDIO_COPY retry unexpected: %"PRId64,
| ^~~
userfaultfd.c:146:19: warning: spurious trailing '%' in format [-Wformat=]
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~~~~~~~
userfaultfd.c:153:3: note: in expansion of macro '_err'
153 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:559:3: note: in expansion of macro 'err'
559 | err("UFFDIO_COPY retry unexpected: %"PRId64,
| ^~~
userfaultfd.c:559:38: note: format string is defined here
559 | err("UFFDIO_COPY retry unexpected: %"PRId64,
| ^
userfaultfd.c: In function '__copy_page':
userfaultfd.c:581:30: error: expected ')' before 'PRId64'
581 | err("UFFDIO_COPY error: %"PRId64,
| ^~~~~~
userfaultfd.c:146:29: note: in definition of macro '_err'
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:581:4: note: in expansion of macro 'err'
581 | err("UFFDIO_COPY error: %"PRId64,
| ^~~
userfaultfd.c:146:19: warning: spurious trailing '%' in format [-Wformat=]
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~~~~~~~
userfaultfd.c:153:3: note: in expansion of macro '_err'
153 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:581:4: note: in expansion of macro 'err'
581 | err("UFFDIO_COPY error: %"PRId64,
| ^~~
userfaultfd.c:581:28: note: format string is defined here
581 | err("UFFDIO_COPY error: %"PRId64,
| ^
userfaultfd.c:584:29: error: expected ')' before 'PRId64'
584 | err("UFFDIO_COPY error: %"PRId64, (int64_t)uffdio_copy.copy);
| ^~~~~~
userfaultfd.c:146:29: note: in definition of macro '_err'
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:584:3: note: in expansion of macro 'err'
584 | err("UFFDIO_COPY error: %"PRId64, (int64_t)uffdio_copy.copy);
| ^~~
userfaultfd.c:146:19: warning: spurious trailing '%' in format [-Wformat=]
146 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~~~~~~~
userfaultfd.c:153:3: note: in expansion of macro '_err'
153 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:584:3: note: in expansion of macro 'err'
584 | err("UFFDIO_COPY error: %"PRId64, (int64_t)uffdio_copy.copy);
| ^~~
userfaultfd.c:584:27: note: format string is defined here
584 | err("UFFDIO_COPY error: %"PRId64, (int64_t)uffdio_copy.copy);
| ^
userfaultfd.c: In function 'uffd_handle_page_fault':
userfaultfd.c:635:3: error: unknown type name 'uint8_t'; did you mean 'u_int8_t'?
635 | uint8_t *area;
| ^~~~~~~
| u_int8_t
userfaultfd.c:650:11: error: 'uint8_t' undeclared (first use in this function); did you mean 'u_int8_t'?
650 | area = (uint8_t *)(area_dst +
| ^~~~~~~
| u_int8_t
userfaultfd.c:650:11: note: each undeclared identifier is reported only once for each function it appears in
userfaultfd.c:650:20: error: expected expression before ')' token
650 | area = (uint8_t *)(area_dst +
| ^
userfaultfd.c: In function 'retry_uffdio_zeropage':
userfaultfd.c:986:34: error: expected ')' before 'PRId64'
986 | err("UFFDIO_ZEROPAGE error: %"PRId64,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41712 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-13 0:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-13 0:29 [android-common:android12-5.10 7529/10575] userfaultfd.c:556:36: error: expected ')' before 'PRId64' 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.