* [ceph-client:wip-fscrypt 6/64] net/ceph/osd_client.c:5702:51: error: too many arguments to function call, expected 3, have 4
@ 2022-05-31 5:50 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-31 5:50 UTC (permalink / raw)
To: Jeff Layton; +Cc: llvm, kbuild-all, ceph-devel, Xiubo Li
tree: https://github.com/ceph/ceph-client.git wip-fscrypt
head: 4a13fcc148c64143afe231bd0cae743b89c70177
commit: 0614a83e4f104460d5bdb8ba414ab69b8fdbdb39 [6/64] libceph: add sparse read support to OSD client
config: arm64-buildonly-randconfig-r002-20220531 (https://download.01.org/0day-ci/archive/20220531/202205311337.ZFkD1cPR-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c825abd6b0198fb088d9752f556a70705bc99dfd)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/ceph/ceph-client/commit/0614a83e4f104460d5bdb8ba414ab69b8fdbdb39
git remote add ceph-client https://github.com/ceph/ceph-client.git
git fetch --no-tags ceph-client wip-fscrypt
git checkout 0614a83e4f104460d5bdb8ba414ab69b8fdbdb39
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash net/ceph/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> net/ceph/osd_client.c:5702:51: error: too many arguments to function call, expected 3, have 4
page = ceph_msg_data_next(cursor, &poff, &plen, &last);
~~~~~~~~~~~~~~~~~~ ^~~~~
include/linux/ceph/messenger.h:527:14: note: 'ceph_msg_data_next' declared here
struct page *ceph_msg_data_next(struct ceph_msg_data_cursor *cursor,
^
1 error generated.
vim +5702 net/ceph/osd_client.c
5694
5695 static void advance_cursor(struct ceph_msg_data_cursor *cursor, size_t len, bool zero)
5696 {
5697 while (len) {
5698 struct page *page;
5699 size_t poff, plen;
5700 bool last = false;
5701
> 5702 page = ceph_msg_data_next(cursor, &poff, &plen, &last);
5703 if (plen > len)
5704 plen = len;
5705 if (zero)
5706 zero_user_segment(page, poff, poff + plen);
5707 len -= plen;
5708 ceph_msg_data_advance(cursor, plen);
5709 }
5710 }
5711
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-31 5:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-31 5:50 [ceph-client:wip-fscrypt 6/64] net/ceph/osd_client.c:5702:51: error: too many arguments to function call, expected 3, have 4 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.