tree:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
fscache-iter
head: 0764bb737d1e6bd5cc9f30fa2df637324282fdda
commit: 67b9296c1b631dd7ab17ea2b68868afa18b9bccf [30/66] fscache: read-helper: Add cache
ops to support the helper
config: openrisc-randconfig-r013-20200922 (attached as .config)
compiler: or1k-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 67b9296c1b631dd7ab17ea2b68868afa18b9bccf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from fs/fscache/read_helper.c:16:
fs/fscache/internal.h: In function 'fscache_prepare_read':
> fs/fscache/internal.h:62:23: error: 'rreq' undeclared
(first use in this function); did you mean 'rseq'?
62 | if
(subreq->start >= rreq->i_size)
| ^~~~
| rseq
fs/fscache/internal.h:62:23: note: each undeclared identifier is reported only once for
each function it appears in
#
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/com...
git remote add dhowells-fs
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs fscache-iter
git checkout 67b9296c1b631dd7ab17ea2b68868afa18b9bccf
vim +62 fs/fscache/internal.h
50
51 static inline
52 enum fscache_read_source fscache_prepare_read(struct fscache_read_subrequest
*subreq,
53 loff_t i_size)
54 {
55 #if __fscache_available
56 struct fscache_read_request *rreq = subreq->rreq;
57 struct fscache_op_resources *opr = &rreq->cache_resources;
58
59 if (fscache_object_valid(opr->object))
60 return opr->object->cache->ops->prepare_read(subreq, i_size);
61 #endif
62 if (subreq->start >= rreq->i_size)
63 return
FSCACHE_FILL_WITH_ZEROES;
64 return FSCACHE_DOWNLOAD_FROM_SERVER;
65 }
66
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org