public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chao Yu <chao@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [chao:bugfix/common 5/5] include/trace/events/f2fs.h:2657:3: warning: format specifies type 'long long' but the argument has type 'unsigned long'
Date: Wed, 18 Mar 2026 11:02:44 +0800	[thread overview]
Message-ID: <202603181033.3cNS58LP-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git bugfix/common
head:   c85deae607667bb160a277e75324a45879161285
commit: c85deae607667bb160a277e75324a45879161285 [5/5] f2fs: introduce trace_f2fs_map_lock()
config: i386-buildonly-randconfig-001-20260318 (https://download.01.org/0day-ci/archive/20260318/202603181033.3cNS58LP-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260318/202603181033.3cNS58LP-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/202603181033.3cNS58LP-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from fs/f2fs/super.c:41:
   In file included from include/trace/events/f2fs.h:2665:
   In file included from include/trace/define_trace.h:132:
   In file included from include/trace/trace_events.h:256:
>> include/trace/events/f2fs.h:2657:3: warning: format specifies type 'long long' but the argument has type 'unsigned long' [-Wformat]
    2633 |         ),
         |         ~~
    2634 | 
    2635 |         TP_fast_assign(
         |         ~~~~~~~~~~~~~~~
    2636 |                 __entry->dev            = inode->i_sb->s_dev;
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2637 |                 __entry->ino            = inode->i_ino;
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2638 |                 __entry->index          = index;
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2639 |                 __entry->flag           = flag;
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2640 |                 __entry->string         = string;
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2641 |         ),
         |         ~~
    2642 | 
    2643 |         TP_printk("dev = (%d,%d), ino = %lu, index = %lld, flag = %d, %s",
         |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                                                      %lu
    2644 |                 show_dev_ino(__entry),
         |                 ~~~~~~~~~~~~~~~~~~~~~~
    2645 |                 __entry->index,
         |                 ^~~~~~~~~~~~~~~
    2646 |                 __entry->flag,
         |                 ~~~~~~~~~~~~~~
    2647 |                 __entry->string)
         |                 ~~~~~~~~~~~~~~~~
    2648 | );
         | ~
   include/trace/stages/stage3_trace_output.h:6:17: note: expanded from macro '__entry'
       6 | #define __entry field
         |                 ^
   include/trace/stages/stage3_trace_output.h:9:43: note: expanded from macro 'TP_printk'
       9 | #define TP_printk(fmt, args...) fmt "\n", args
         |                                 ~~~       ^
   include/trace/trace_events.h:45:16: note: expanded from macro 'TRACE_EVENT'
      40 |         DECLARE_EVENT_CLASS(name,                              \
         |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      41 |                              PARAMS(proto),                    \
         |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      42 |                              PARAMS(args),                     \
         |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      43 |                              PARAMS(tstruct),                  \
         |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      44 |                              PARAMS(assign),                   \
         |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      45 |                              PARAMS(print));                   \
         |                              ~~~~~~~^~~~~~~
   include/linux/tracepoint.h:140:25: note: expanded from macro 'PARAMS'
     140 | #define PARAMS(args...) args
         |                         ^~~~
   include/trace/trace_events.h:219:27: note: expanded from macro 'DECLARE_EVENT_CLASS'
     219 |         trace_event_printf(iter, print);                                \
         |                                  ^~~~~
   1 warning generated.


vim +2657 include/trace/events/f2fs.h

  2634	
  2635		TP_PROTO(struct inode *inode, pgoff_t index, int flag, char *string),
  2636	
  2637		TP_ARGS(inode, index, flag, string),
  2638	
  2639		TP_STRUCT__entry(
  2640			__field(dev_t, dev)
  2641			__field(ino_t, ino)
  2642			__field(pgoff_t, index)
  2643			__field(int, flag)
  2644			__field(char *, string)
  2645		),
  2646	
  2647		TP_fast_assign(
  2648			__entry->dev		= inode->i_sb->s_dev;
  2649			__entry->ino		= inode->i_ino;
  2650			__entry->index		= index;
  2651			__entry->flag		= flag;
  2652			__entry->string		= string;
  2653		),
  2654	
  2655		TP_printk("dev = (%d,%d), ino = %lu, index = %lld, flag = %d, %s",
  2656			show_dev_ino(__entry),
> 2657			__entry->index,
  2658			__entry->flag,
  2659			__entry->string)
  2660	);
  2661	

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

                 reply	other threads:[~2026-03-18  3:03 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=202603181033.3cNS58LP-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chao@kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@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