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 6/12] include/trace/events/f2fs.h:2669:3: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long'
Date: Tue, 12 May 2026 04:53:15 +0800 [thread overview]
Message-ID: <202605120431.QFUGn9jp-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git bugfix/common
head: 3fc276f79bae89d43863f797bc4ca48965917be8
commit: ca5a91e342cd920d4857741392251ebfb4f235b6 [6/12] f2fs: introduce trace_f2fs_map_lock()
config: i386-buildonly-randconfig-004-20260511 (https://download.01.org/0day-ci/archive/20260512/202605120431.QFUGn9jp-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/20260512/202605120431.QFUGn9jp-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/202605120431.QFUGn9jp-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/f2fs/super.c:42:
In file included from include/trace/events/f2fs.h:2678:
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:2669:3: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
2646 | ),
| ~~
2647 |
2648 | TP_fast_assign(
| ~~~~~~~~~~~~~~~
2649 | __entry->dev = inode->i_sb->s_dev;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2650 | __entry->ino = inode->i_ino;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2651 | __entry->index = index;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2652 | __entry->flag = flag;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2653 | __entry->string = string;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2654 | ),
| ~~
2655 |
2656 | TP_printk("dev = (%d,%d), ino = %lu, index = %ld, flag = %d, %s",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| %llu
2657 | show_dev_ino(__entry),
| ^~~~~~~~~~~~~~~~~~~~~~
2658 | __entry->index,
| ~~~~~~~~~~~~~~~
2659 | __entry->flag,
| ~~~~~~~~~~~~~~
2660 | __entry->string)
| ~~~~~~~~~~~~~~~~
2661 | );
| ~
include/trace/events/f2fs.h:12:51: note: expanded from macro 'show_dev_ino'
12 | #define show_dev_ino(entry) show_dev(entry->dev), (unsigned long long)entry->ino
| ^
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:160:25: note: expanded from macro 'PARAMS'
160 | #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 +2669 include/trace/events/f2fs.h
2647
2648 TP_PROTO(struct inode *inode, pgoff_t index, int flag, char *string),
2649
2650 TP_ARGS(inode, index, flag, string),
2651
2652 TP_STRUCT__entry(
2653 __field(dev_t, dev)
2654 __field(ino_t, ino)
2655 __field(pgoff_t, index)
2656 __field(int, flag)
2657 __field(char *, string)
2658 ),
2659
2660 TP_fast_assign(
2661 __entry->dev = inode->i_sb->s_dev;
2662 __entry->ino = inode->i_ino;
2663 __entry->index = index;
2664 __entry->flag = flag;
2665 __entry->string = string;
2666 ),
2667
2668 TP_printk("dev = (%d,%d), ino = %lu, index = %ld, flag = %d, %s",
> 2669 show_dev_ino(__entry),
2670 __entry->index,
2671 __entry->flag,
2672 __entry->string)
2673 );
2674
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-05-11 20:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-11 20:53 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-05-11 21:19 [chao:bugfix/common 6/12] include/trace/events/f2fs.h:2669:3: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' 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=202605120431.QFUGn9jp-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