tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git
ceph-fscache-iter
head: 3e988e691f03e14d299a34cc55ee7f0e6a780a5d
commit: d8c86ec1210d77793f0ed47e5fd996c497d8bcde [36/76] cachefiles: Implement extent
shaper
config: sh-allmodconfig (attached as .config)
compiler: sh4-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
git checkout d8c86ec1210d77793f0ed47e5fd996c497d8bcde
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/printk.h:7,
from include/linux/kernel.h:15,
from include/linux/list.h:9,
from include/linux/mount.h:14,
from fs/cachefiles/content-map.c:8:
fs/cachefiles/content-map.c: In function 'cachefiles_expand_content_map':
> include/linux/kern_levels.h:5:18: warning: format '%lx'
expects argument of type 'long unsigned int', but argument 5 has type
'size_t' {aka 'unsigned int'} [-Wformat=]
5 | #define KERN_SOH
"001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
| ^~~~~~~~
> fs/cachefiles/internal.h:272:9: note: in expansion of macro
'KERN_DEBUG'
272 | printk(KERN_DEBUG "[%-6.6s] "FMT"n",
current->comm, ##__VA_ARGS__)
| ^~~~~~~~~~
> fs/cachefiles/internal.h:274:26: note: in expansion of macro
'dbgprintk'
274 | #define kenter(FMT, ...) dbgprintk("==>
%s("FMT")", __func__, ##__VA_ARGS__)
| ^~~~~~~~~
> fs/cachefiles/internal.h:288:3: note: in expansion of macro
'kenter'
288 | kenter(FMT, ##__VA_ARGS__); | ^~~~~~
fs/cachefiles/content-map.c:260:2: note: in expansion of macro '_enter'
260 | _enter("%llx,%lx,%x", i_size, size, object->content_map_size);
| ^~~~~~
fs/cachefiles/content-map.c:260:17: note: format string is defined here
260 | _enter("%llx,%lx,%x", i_size, size, object->content_map_size);
| ~~^
| |
| long unsigned int
| %x
vim +/KERN_DEBUG +272 fs/cachefiles/internal.h
9ae326a69004de David Howells 2009-04-03 266
9ae326a69004de David Howells 2009-04-03 267
9ae326a69004de David Howells 2009-04-03 268 /*
9ae326a69004de David Howells 2009-04-03 269 * debug tracing
9ae326a69004de David Howells 2009-04-03 270 */
9ae326a69004de David Howells 2009-04-03 271 #define dbgprintk(FMT, ...) \
9ae326a69004de David Howells 2009-04-03 @272 printk(KERN_DEBUG "[%-6.6s]
"FMT"\n", current->comm, ##__VA_ARGS__)
9ae326a69004de David Howells 2009-04-03 273
9ae326a69004de David Howells 2009-04-03 @274 #define kenter(FMT, ...)
dbgprintk("==> %s("FMT")", __func__, ##__VA_ARGS__)
9ae326a69004de David Howells 2009-04-03 275 #define kleave(FMT, ...)
dbgprintk("<== %s()"FMT"", __func__, ##__VA_ARGS__)
9ae326a69004de David Howells 2009-04-03 276 #define kdebug(FMT, ...) dbgprintk(FMT,
##__VA_ARGS__)
9ae326a69004de David Howells 2009-04-03 277
9ae326a69004de David Howells 2009-04-03 278
9ae326a69004de David Howells 2009-04-03 279 #if defined(__KDEBUG)
9ae326a69004de David Howells 2009-04-03 280 #define _enter(FMT, ...) kenter(FMT,
##__VA_ARGS__)
9ae326a69004de David Howells 2009-04-03 281 #define _leave(FMT, ...) kleave(FMT,
##__VA_ARGS__)
9ae326a69004de David Howells 2009-04-03 282 #define _debug(FMT, ...) kdebug(FMT,
##__VA_ARGS__)
9ae326a69004de David Howells 2009-04-03 283
9ae326a69004de David Howells 2009-04-03 284 #elif defined(CONFIG_CACHEFILES_DEBUG)
9ae326a69004de David Howells 2009-04-03 285 #define _enter(FMT, ...) \
9ae326a69004de David Howells 2009-04-03 286 do { \
9ae326a69004de David Howells 2009-04-03 287 if (cachefiles_debug &
CACHEFILES_DEBUG_KENTER) \
9ae326a69004de David Howells 2009-04-03 @288 kenter(FMT, ##__VA_ARGS__); \
9ae326a69004de David Howells 2009-04-03 289 } while (0)
9ae326a69004de David Howells 2009-04-03 290
:::::: The code at line 272 was first introduced by commit
:::::: 9ae326a69004dea8af2dae4fde58de27db700a8d CacheFiles: A cache that backs onto a
mounted filesystem
:::::: TO: David Howells <dhowells(a)redhat.com>
:::::: CC: David Howells <dhowells(a)redhat.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org