All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, "sys_oak" <sys_oak@intel.com>
Subject: [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'
Date: Tue, 12 May 2026 01:52:39 +0200	[thread overview]
Message-ID: <202605120100.6KHAc8uz-lkp@intel.com> (raw)

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

             reply	other threads:[~2026-05-11 23:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11 23:52 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

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=202605120100.6KHAc8uz-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sys_oak@intel.com \
    /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.