* [chao:bugfix/common 5/5] include/trace/events/f2fs.h:2655:19: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'long unsigned int'
@ 2026-03-17 19:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-17 19:46 UTC (permalink / raw)
To: Chao Yu; +Cc: oe-kbuild-all
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: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260317/202603172038.fCcFKBQE-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260317/202603172038.fCcFKBQE-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/202603172038.fCcFKBQE-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/trace/define_trace.h:132,
from include/trace/events/f2fs.h:2665,
from fs/f2fs/super.c:41:
include/trace/events/f2fs.h: In function 'trace_raw_output_f2fs_map_lock':
>> include/trace/events/f2fs.h:2655:19: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'long unsigned int' [-Wformat=]
2655 | TP_printk("dev = (%d,%d), ino = %lu, index = %lld, flag = %d, %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/trace/trace_events.h:219:34: note: in definition of macro 'DECLARE_EVENT_CLASS'
219 | trace_event_printf(iter, print); \
| ^~~~~
include/trace/trace_events.h:45:30: note: in expansion of macro 'PARAMS'
45 | PARAMS(print)); \
| ^~~~~~
include/trace/events/f2fs.h:2633:1: note: in expansion of macro 'TRACE_EVENT'
2633 | TRACE_EVENT(f2fs_map_lock,
| ^~~~~~~~~~~
include/trace/events/f2fs.h:2655:9: note: in expansion of macro 'TP_printk'
2655 | TP_printk("dev = (%d,%d), ino = %lu, index = %lld, flag = %d, %s",
| ^~~~~~~~~
In file included from include/trace/trace_events.h:256:
include/trace/events/f2fs.h:2655:57: note: format string is defined here
2655 | TP_printk("dev = (%d,%d), ino = %lu, index = %lld, flag = %d, %s",
| ~~~^
| |
| long long int
| %ld
vim +2655 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-17 19:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-17 19:46 [chao:bugfix/common 5/5] include/trace/events/f2fs.h:2655:19: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'long unsigned int' 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.