* [dhowells-fs:ceph-iter 29/30] <command-line>: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 11 has type 'size_t' {aka 'unsigned int'}
@ 2023-08-21 11:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-21 11:59 UTC (permalink / raw)
To: David Howells; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git ceph-iter
head: d98064c4bf02eba42e22917aecccfb339c094d26
commit: 83fb8ca5f08ed8b16e688b124a3f37de3fc01423 [29/30] ceph: Don't use data_pages
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20230821/202308211955.eOd6TCh2-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230821/202308211955.eOd6TCh2-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/202308211955.eOd6TCh2-lkp@intel.com/
All warnings (new ones prefixed by >>):
fs/ceph/addr.c: In function 'finish_netfs_read':
fs/ceph/addr.c:272:75: error: 'struct ceph_osd_data' has no member named 'pages'
272 | err = ceph_fscrypt_decrypt_extents(inode, osd_data->pages,
| ^~
In file included from include/linux/bug.h:5,
from include/linux/fortify-string.h:5,
from include/linux/string.h:254,
from include/linux/ceph/ceph_debug.h:7,
from fs/ceph/addr.c:2:
fs/ceph/addr.c: In function 'writepages_finish':
fs/ceph/addr.c:877:42: error: 'CEPH_OSD_DATA_TYPE_PAGES' undeclared (first use in this function); did you mean 'CEPH_OSD_DATA_TYPE_ITER'?
877 | BUG_ON(osd_data->type != CEPH_OSD_DATA_TYPE_PAGES);
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/mips/include/asm/bug.h:34:44: note: in definition of macro 'BUG_ON'
34 | #define BUG_ON(C) __BUG_ON((unsigned long)(C))
| ^
fs/ceph/addr.c:877:42: note: each undeclared identifier is reported only once for each function it appears in
877 | BUG_ON(osd_data->type != CEPH_OSD_DATA_TYPE_PAGES);
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/mips/include/asm/bug.h:34:44: note: in definition of macro 'BUG_ON'
34 | #define BUG_ON(C) __BUG_ON((unsigned long)(C))
| ^
fs/ceph/addr.c:879:57: error: 'struct ceph_osd_data' has no member named 'offset'
879 | num_pages = calc_pages_for((u64)osd_data->offset,
| ^~
fs/ceph/addr.c:883:40: error: 'struct ceph_osd_data' has no member named 'pages'
883 | page = osd_data->pages[j];
| ^~
fs/ceph/addr.c:886:66: error: 'struct ceph_osd_data' has no member named 'pages'
886 | fscrypt_free_bounce_page(osd_data->pages[j]);
| ^~
fs/ceph/addr.c:887:41: error: 'struct ceph_osd_data' has no member named 'pages'
887 | osd_data->pages[j] = page;
| ^~
>> <command-line>: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 11 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
include/linux/ceph/ceph_debug.h:5:21: note: in expansion of macro 'KBUILD_MODNAME'
5 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
include/linux/dynamic_debug.h:222:29: note: in expansion of macro 'pr_fmt'
222 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:246:9: note: in expansion of macro '__dynamic_func_call_cls'
246 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:248:9: note: in expansion of macro '_dynamic_func_call_cls'
248 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:267:9: note: in expansion of macro '_dynamic_func_call'
267 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:579:9: note: in expansion of macro 'dynamic_pr_debug'
579 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
include/linux/ceph/ceph_debug.h:23:9: note: in expansion of macro 'pr_debug'
23 | pr_debug("%.*s %12.12s:%-4d : [%pU %lld] " fmt, \
| ^~~~~~~~
fs/ceph/addr.c:907:17: note: in expansion of macro 'doutc'
907 | doutc(cl, "%llx.%llx wrote %llu bytes cleaned %d pages\n",
| ^~~~~
fs/ceph/addr.c:911:39: error: 'struct ceph_osd_data' has no member named 'pages'
911 | release_pages(osd_data->pages, num_pages);
| ^~
fs/ceph/addr.c:920:21: error: 'struct ceph_osd_data' has no member named 'pages_from_pool'
920 | if (osd_data->pages_from_pool)
| ^~
fs/ceph/addr.c:921:38: error: 'struct ceph_osd_data' has no member named 'pages'
921 | mempool_free(osd_data->pages, ceph_wb_pagevec_pool);
| ^~
fs/ceph/addr.c:923:31: error: 'struct ceph_osd_data' has no member named 'pages'
923 | kfree(osd_data->pages);
| ^~
--
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:[~2023-08-21 12:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-21 11:59 [dhowells-fs:ceph-iter 29/30] <command-line>: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 11 has type 'size_t' {aka '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.