* [chao-linux:dax-wip 7/7] include/linux/kern_levels.h:5:18: warning: format '%s' expects a matching 'char *' argument
@ 2021-04-01 1:32 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-01 1:32 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3287 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git dax-wip
head: 030db79112b5bc644a842a966bf839ef71a31245
commit: 030db79112b5bc644a842a966bf839ef71a31245 [7/7] f2fs: dax options
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?id=030db79112b5bc644a842a966bf839ef71a31245
git remote add chao-linux https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git
git fetch --no-tags chao-linux dax-wip
git checkout 030db79112b5bc644a842a966bf839ef71a31245
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/printk.h:7,
from include/linux/kernel.h:16,
from include/linux/list.h:9,
from include/linux/module.h:12,
from fs/f2fs/super.c:8:
fs/f2fs/super.c: In function 'parse_options':
>> include/linux/kern_levels.h:5:18: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
fs/f2fs/f2fs.h:2135:19: note: in expansion of macro 'KERN_INFO'
2135 | f2fs_printk(sbi, KERN_INFO fmt, ##__VA_ARGS__)
| ^~~~~~~~~
fs/f2fs/super.c:1119:4: note: in expansion of macro 'f2fs_info'
1119 | f2fs_info(sbi, "dax=%s option not supported");
| ^~~~~~~~~
fs/f2fs/super.c:1119:25: note: format string is defined here
1119 | f2fs_info(sbi, "dax=%s option not supported");
| ~^
| |
| char *
fs/f2fs/super.c: In function 'default_options':
fs/f2fs/super.c:1903:18: error: 'struct f2fs_mount_info' has no member named 'dax_mode'
1903 | F2FS_OPTION(sbi).dax_mode = DAX_MODE_NONE;
| ^
vim +5 include/linux/kern_levels.h
314ba3520e513a Joe Perches 2012-07-30 4
04d2c8c83d0e3a Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII Start Of Header */
04d2c8c83d0e3a Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001'
04d2c8c83d0e3a 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@perches.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 70209 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-01 1:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-01 1:32 [chao-linux:dax-wip 7/7] include/linux/kern_levels.h:5:18: warning: format '%s' expects a matching 'char *' argument 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.