tree:
git://git.infradead.org/users/hch/block.git bio_alloc-cleanup
head: f033ae7a0e5d8529000f3760d24650e8c468fb65
commit: 41af664fdb39fe3a5cc1e2d6639795ee98efe514 [37/41] f2fs: return a f2fs_dev_info from
f2fs_target_device
config: i386-randconfig-a005
(
https://download.01.org/0day-ci/archive/20220115/202201152205.Xjy1E3ng-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add hch-block
git://git.infradead.org/users/hch/block.git
git fetch --no-tags hch-block bio_alloc-cleanup
git checkout 41af664fdb39fe3a5cc1e2d6639795ee98efe514
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash fs/f2fs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/printk.h:7,
from include/linux/kernel.h:20,
from arch/x86/include/asm/percpu.h:27,
from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:55,
from include/linux/wait.h:9,
from include/linux/wait_bit.h:8,
from include/linux/fs.h:6,
from fs/f2fs/segment.c:8:
fs/f2fs/segment.c: In function '__f2fs_issue_discard_zone':
> include/linux/kern_levels.h:5:18: warning: format '%ld'
expects argument of type 'long int', but argument 3 has type 'int'
[-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header
*/
| ^~~~~~
include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
fs/f2fs/f2fs.h:2241:19: note: in expansion of macro 'KERN_ERR'
2241 | f2fs_printk(sbi, KERN_ERR fmt, ##__VA_ARGS__)
| ^~~~~~~~
fs/f2fs/segment.c:1863:4: note: in expansion of macro 'f2fs_err'
1863 | f2fs_err(sbi, "(%ld) %s: Unaligned zone reset attempted (block %x +
%x)",
| ^~~~~~~~
fs/f2fs/segment.c:1863:22: note: format string is defined here
1863 | f2fs_err(sbi, "(%ld) %s: Unaligned zone reset attempted (block %x +
%x)",
| ~~^
| |
| long int
| %d
vim +5 include/linux/kern_levels.h
314ba3520e513a7 Joe Perches 2012-07-30 4
04d2c8c83d0e3ac Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII
Start Of Header */
04d2c8c83d0e3ac Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001'
04d2c8c83d0e3ac Joe Perches 2012-07-30 7
:::::: The code at line 5 was first introduced by commit
:::::: 04d2c8c83d0e3ac5f78aeede51babb3236200112 printk: convert the format for
KERN_<LEVEL> to a 2 byte pattern
:::::: TO: Joe Perches <joe(a)perches.com>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org