On Fri, Apr 9, 2021 at 8:59 PM kernel test robot <lkp(a)intel.com> wrote:
All warnings (new ones prefixed by >>):
>> fs/ext4/fast_commit.c:1738:5: warning: format specifies type 'int' but
the argument has type 'unsigned long' [-Wformat]
map.m_flags & EXT4_MAP_UNWRITTEN,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/jbd2.h:64:51: note: expanded from macro 'jbd_debug'
#define jbd_debug(n, fmt, a...) no_printk(fmt, ##a)
~~~ ^
include/linux/printk.h:140:17: note: expanded from macro 'no_printk'
printk(fmt, ##__VA_ARGS__); \
~~~ ^~~~~~~~~~~
1 warning generated.
--
>> fs/jbd2/recovery.c:256:54: warning: more '%' conversions than data
arguments [-Wformat-insufficient-args]
jbd_debug(3, "Processing fast commit blk with seq %d");
~^
include/linux/jbd2.h:64:44: note: expanded from macro 'jbd_debug'
#define jbd_debug(n, fmt, a...) no_printk(fmt, ##a)
^~~
include/linux/printk.h:140:10: note: expanded from macro 'no_printk'
printk(fmt, ##__VA_ARGS__); \
^~~
1 warning generated.
I sent a patch now. For some reason I ended up testing with -Wempty-body enabled
but all -Wformat warnings disabled when I tested this before sending.
Arnd