From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [android-common:android12-5.4 5/5] userfaultfd.c:387:57: error: expected ')' before 'PRId64'
Date: Tue, 25 Nov 2025 11:30:38 +0100 [thread overview]
Message-ID: <202511251113.VCGL6onp-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "low confidence bisect report"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: cros-kernel-buildreports@googlegroups.com
tree: https://android.googlesource.com/kernel/common android12-5.4
head: 7055541caeda53d6275f23b878618d609132e955
commit: 42e354c78fb00fb12774ed0b676eb80bf86425fd [5/5] BACKPORT: FROMGIT: userfaultfd/selftests: unify error handling
:::::: branch date: 25 hours ago
:::::: commit date: 4 years, 6 months ago
config: i386-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251125/202511251113.VCGL6onp-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251125/202511251113.VCGL6onp-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/202511251113.VCGL6onp-lkp@intel.com/
All errors (new ones prefixed by >>):
userfaultfd.c: In function 'continue_range':
userfaultfd.c:323:62: error: expected ')' before 'PRIx64'
323 | err("UFFDIO_CONTINUE failed for address 0x%" PRIx64,
| ^~~~~~
userfaultfd.c:140:43: note: in definition of macro '_err'
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:323:17: note: in expansion of macro 'err'
323 | err("UFFDIO_CONTINUE failed for address 0x%" PRIx64,
| ^~~
userfaultfd.c:59:1: note: 'PRIx64' is defined in header '<inttypes.h>'; this is probably fixable by adding '#include <inttypes.h>'
58 | #include "../kselftest.h"
+++ |+#include <inttypes.h>
59 |
userfaultfd.c:140:24: note: to match this '('
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^
userfaultfd.c:147:17: note: in expansion of macro '_err'
147 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:323:17: note: in expansion of macro 'err'
323 | err("UFFDIO_CONTINUE failed for address 0x%" PRIx64,
| ^~~
userfaultfd.c:140:33: warning: spurious trailing '%' in format [-Wformat=]
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~~~~~~~
userfaultfd.c:147:17: note: in expansion of macro '_err'
147 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:323:17: note: in expansion of macro 'err'
323 | err("UFFDIO_CONTINUE failed for address 0x%" PRIx64,
| ^~~
userfaultfd.c: In function 'retry_copy_page':
>> userfaultfd.c:387:57: error: expected ')' before 'PRId64'
387 | err("UFFDIO_COPY retry error: %"PRId64,
| ^~~~~~
userfaultfd.c:140:43: note: in definition of macro '_err'
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:387:25: note: in expansion of macro 'err'
387 | err("UFFDIO_COPY retry error: %"PRId64,
| ^~~
userfaultfd.c:387:57: note: 'PRId64' is defined in header '<inttypes.h>'; this is probably fixable by adding '#include <inttypes.h>'
387 | err("UFFDIO_COPY retry error: %"PRId64,
| ^~~~~~
userfaultfd.c:140:43: note: in definition of macro '_err'
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:387:25: note: in expansion of macro 'err'
387 | err("UFFDIO_COPY retry error: %"PRId64,
| ^~~
userfaultfd.c:140:24: note: to match this '('
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^
userfaultfd.c:147:17: note: in expansion of macro '_err'
147 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:387:25: note: in expansion of macro 'err'
387 | err("UFFDIO_COPY retry error: %"PRId64,
| ^~~
userfaultfd.c:140:33: warning: spurious trailing '%' in format [-Wformat=]
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~~~~~~~
userfaultfd.c:147:17: note: in expansion of macro '_err'
147 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:387:25: note: in expansion of macro 'err'
387 | err("UFFDIO_COPY retry error: %"PRId64,
| ^~~
userfaultfd.c:390:54: error: expected ')' before 'PRId64'
390 | err("UFFDIO_COPY retry unexpected: %"PRId64,
| ^~~~~~
userfaultfd.c:140:43: note: in definition of macro '_err'
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:390:17: note: in expansion of macro 'err'
390 | err("UFFDIO_COPY retry unexpected: %"PRId64,
| ^~~
userfaultfd.c:390:54: note: 'PRId64' is defined in header '<inttypes.h>'; this is probably fixable by adding '#include <inttypes.h>'
390 | err("UFFDIO_COPY retry unexpected: %"PRId64,
| ^~~~~~
userfaultfd.c:140:43: note: in definition of macro '_err'
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:390:17: note: in expansion of macro 'err'
390 | err("UFFDIO_COPY retry unexpected: %"PRId64,
| ^~~
userfaultfd.c:140:24: note: to match this '('
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^
userfaultfd.c:147:17: note: in expansion of macro '_err'
147 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:390:17: note: in expansion of macro 'err'
390 | err("UFFDIO_COPY retry unexpected: %"PRId64,
| ^~~
userfaultfd.c:140:33: warning: spurious trailing '%' in format [-Wformat=]
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~~~~~~~
userfaultfd.c:147:17: note: in expansion of macro '_err'
147 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:390:17: note: in expansion of macro 'err'
390 | err("UFFDIO_COPY retry unexpected: %"PRId64,
| ^~~
userfaultfd.c: In function '__copy_page':
userfaultfd.c:409:51: error: expected ')' before 'PRId64'
409 | err("UFFDIO_COPY error: %"PRId64,
| ^~~~~~
userfaultfd.c:140:43: note: in definition of macro '_err'
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:409:25: note: in expansion of macro 'err'
409 | err("UFFDIO_COPY error: %"PRId64,
| ^~~
userfaultfd.c:409:51: note: 'PRId64' is defined in header '<inttypes.h>'; this is probably fixable by adding '#include <inttypes.h>'
409 | err("UFFDIO_COPY error: %"PRId64,
| ^~~~~~
userfaultfd.c:140:43: note: in definition of macro '_err'
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^~~
userfaultfd.c:409:25: note: in expansion of macro 'err'
409 | err("UFFDIO_COPY error: %"PRId64,
| ^~~
userfaultfd.c:140:24: note: to match this '('
140 | fprintf(stderr, "ERROR: " fmt, ##__VA_ARGS__); \
| ^
userfaultfd.c:147:17: note: in expansion of macro '_err'
147 | _err(fmt, ##__VA_ARGS__); \
| ^~~~
userfaultfd.c:409:25: note: in expansion of macro 'err'
409 | err("UFFDIO_COPY error: %"PRId64,
| ^~~
userfaultfd.c:140:33: warning: spurious trailing '%' in format [-Wformat=]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-11-25 10:30 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=202511251113.VCGL6onp-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/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 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.