tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git
ceph-fscache-iter
head: bd114d497163ff233e8a0402f76b39ada94b2164
commit: bd114d497163ff233e8a0402f76b39ada94b2164 [14/14] ceph: convert to using
fscache_read_helper
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 bd114d497163ff233e8a0402f76b39ada94b2164
# 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 <<):
> fs/ceph/addr.c:186:6: warning: no previous prototype for
'ceph_readpage_cb' [-Wmissing-prototypes]
186 | void ceph_readpage_cb(struct
ceph_osd_request *req)
| ^~~~~~~~~~~~~~~~
vim +/ceph_readpage_cb +186 fs/ceph/addr.c
185
186 void ceph_readpage_cb(struct ceph_osd_request *req)
187 {
188 struct ceph_fs_client *fsc = req->r_priv;
189 struct ceph_fsc_request *cfreq = container_of(req,
190 struct ceph_fsc_request,
191 osd_req);
192 struct fscache_io_request *fsreq = &cfreq->fsc_req;
193 int err = req->r_result;
194
195 ceph_update_read_latency(&fsc->mdsc->metric, req->r_start_latency,
196 req->r_end_latency, err);
197
198 ceph_osdc_put_request(req);
199 dout("readpage result %d\n", err);
200
201 /* no object should mean success but no data */
202 if (err == -ENOENT)
203 err = 0;
204 else if (err == -EBLACKLISTED)
205 fsc->blacklisted = true;
206
207 fsreq->error = err;
208 if (fsreq->io_done)
209 fsreq->io_done(fsreq);
210 }
211
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org