0 day kernel build service
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [intel-lts:6.12/android_v 1/1] ncdevmem.c:398:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'}
Date: Sat, 13 Jun 2026 03:50:42 +0200	[thread overview]
Message-ID: <202606130333.xGD2LPjp-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence bisect report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev

tree:   https://github.com/intel/linux-intel-lts.git 6.12/android_v
head:   68a638ff668a1d42dda25aab102975b86d6fc10b
commit: 85585b4bc8d80095a825028e2088b568035ac467 [1/1] selftests: add ncdevmem, netcat for devmem TCP
:::::: branch date: 4 days ago
:::::: commit date: 1 year, 9 months ago
config: powerpc64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260613/202606130333.xGD2LPjp-lkp@intel.com/config)
compiler: powerpc64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606130333.xGD2LPjp-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
| Fixes: 85585b4bc8d8 ("selftests: add ncdevmem, netcat for devmem TCP")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202606130333.xGD2LPjp-lkp@intel.com/

All warnings (new ones prefixed by >>):

   ncdevmem.c: In function 'do_server':
>> ncdevmem.c:398:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
     398 |                         printf("received frag_page=%llu, in_page_offset=%llu, frag_offset=%llu, frag_size=%u, token=%u, total_received=%lu, dmabuf_id=%u\n",
         |                                                    ~~~^
         |                                                       |
         |                                                       long long unsigned int
         |                                                    %lu
   ncdevmem.c:398:76: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
     398 |                         printf("received frag_page=%llu, in_page_offset=%llu, frag_offset=%llu, frag_size=%u, token=%u, total_received=%lu, dmabuf_id=%u\n",
         |                                                                         ~~~^
         |                                                                            |
         |                                                                            long long unsigned int
         |                                                                         %lu
     399 |                                dmabuf_cmsg->frag_offset >> PAGE_SHIFT,
     400 |                                dmabuf_cmsg->frag_offset % getpagesize(),
         |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
         |                                                         |
         |                                                         __u64 {aka long unsigned int}
   ncdevmem.c:398:94: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
     398 |                         printf("received frag_page=%llu, in_page_offset=%llu, frag_offset=%llu, frag_size=%u, token=%u, total_received=%lu, dmabuf_id=%u\n",
         |                                                                                           ~~~^
         |                                                                                              |
         |                                                                                              long long unsigned int
         |                                                                                           %lu
   ......
     401 |                                dmabuf_cmsg->frag_offset, dmabuf_cmsg->frag_size,
         |                                ~~~~~~~~~~~~~~~~~~~~~~~~                                       
         |                                           |
         |                                           __u64 {aka long unsigned int}
   /usr/lib/gcc-cross/powerpc64-linux-gnu/14/../../../../powerpc64-linux-gnu/bin/ld: tools/testing/selftests/net/libynl.a(ynl.o): Relocations in generic ELF (EM: 62)
   /usr/lib/gcc-cross/powerpc64-linux-gnu/14/../../../../powerpc64-linux-gnu/bin/ld: tools/testing/selftests/net/libynl.a(ynl.o): Relocations in generic ELF (EM: 62)
   /usr/lib/gcc-cross/powerpc64-linux-gnu/14/../../../../powerpc64-linux-gnu/bin/ld: tools/testing/selftests/net/libynl.a(ynl.o): Relocations in generic ELF (EM: 62)
   /usr/lib/gcc-cross/powerpc64-linux-gnu/14/../../../../powerpc64-linux-gnu/bin/ld: tools/testing/selftests/net/libynl.a: error adding symbols: file in wrong format
   collect2: error: ld returned 1 exit status

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-06-13  1:51 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=202606130333.xGD2LPjp-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox