All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-lts:6.18/linux 1/1] netlink_dumper.c:60:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned int'
@ 2026-03-02 10:12 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-03-02 10:12 UTC (permalink / raw)
  Cc: oe-kbuild-all, sys_oak

tree:   https://github.com/intel/linux-intel-lts.git 6.18/linux
head:   c7c481f14ae7838859098e9873d18c44e73fa7cc
commit: 03189c50b96902c65b0a7f1bd39a3b720c0755ae [1/1] tools/bpf: Query XDP metadata BTF ID
config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260302/202603021139.BooAz09b-lkp@intel.com/config)
compiler: s390x-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/20260302/202603021139.BooAz09b-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/oe-kbuild-all/202603021139.BooAz09b-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from netlink_dumper.c:12:
   netlink_dumper.c: In function 'do_xdp_dump_one':
>> netlink_dumper.c:60:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned int' [-Wformat=]
      60 |         NET_DUMP_UINT("md_btf_id", " md_btf_id(%d)", md_btf_id);
         |                                    ^~~~~~~~~~~~~~~~  ~~~~~~~~~
         |                                                      |
         |                                                      unsigned int
   netlink_dumper.h:76:33: note: in definition of macro 'NET_DUMP_UINT'
      76 |                 fprintf(stdout, fmt_str, val);          \
         |                                 ^~~~~~~
   netlink_dumper.c:60:49: note: format string is defined here
      60 |         NET_DUMP_UINT("md_btf_id", " md_btf_id(%d)", md_btf_id);
         |                                                ~^
         |                                                 |
         |                                                 int
         |                                                %d

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [intel-lts:6.18/linux 1/1] netlink_dumper.c:60:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned int'
@ 2026-05-11 23:52 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-05-11 23:52 UTC (permalink / raw)
  Cc: oe-kbuild-all, sys_oak

Hi Saeed,

FYI, the error/warning still remains.

tree:   https://github.com/intel/linux-intel-lts.git 6.18/linux
head:   722b023c516c8bfbfe652bb6d118f38eda6a2cf2
commit: 03189c50b96902c65b0a7f1bd39a3b720c0755ae [1/1] tools/bpf: Query XDP metadata BTF ID
config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260512/202605120100.6KHAc8uz-lkp@intel.com/config)
compiler: s390x-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/20260512/202605120100.6KHAc8uz-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/oe-kbuild-all/202605120100.6KHAc8uz-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from netlink_dumper.c:12:
   netlink_dumper.c: In function 'do_xdp_dump_one':
>> netlink_dumper.c:60:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned int' [-Wformat=]
      60 |         NET_DUMP_UINT("md_btf_id", " md_btf_id(%d)", md_btf_id);
         |                                    ^~~~~~~~~~~~~~~~  ~~~~~~~~~
         |                                                      |
         |                                                      unsigned int
   netlink_dumper.h:76:33: note: in definition of macro 'NET_DUMP_UINT'
      76 |                 fprintf(stdout, fmt_str, val);          \
         |                                 ^~~~~~~
   netlink_dumper.c:60:49: note: format string is defined here
      60 |         NET_DUMP_UINT("md_btf_id", " md_btf_id(%d)", md_btf_id);
         |                                                ~^
         |                                                 |
         |                                                 int
         |                                                %d

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-11 23:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-02 10:12 [intel-lts:6.18/linux 1/1] netlink_dumper.c:60:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned int' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-05-11 23:52 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.