tree:
git://git.infradead.org/users/willy/linux-dax.git xarray-pagecache
head: 51105c1385d98c72f37f71da2cdaae228229a1b0
commit: c58ec0e1f10f48def4deb3f862b6f244d98a4db3 [53/55] nfs: Support large pages
config: powerpc-defconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
1ccde533425a4ba9d379510206ad680ff9702129)
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
git checkout c58ec0e1f10f48def4deb3f862b6f244d98a4db3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from fs/nfs/nfs4super.c:11:
> fs/nfs/internal.h:692:17: error: implicit declaration of function
'page_pos' [-Werror,-Wimplicit-function-declaration]
loff_t start
= page_pos(page);
^
1 error generated.
vim +/page_pos +692 fs/nfs/internal.h
684
685 /*
686 * Determine the number of bytes of data the page contains
687 */
688 static inline
689 unsigned int nfs_page_length(struct page *page)
690 {
691 loff_t i_size = i_size_read(page_file_mapping(page)->host);
692 loff_t start = page_pos(page);
693 loff_t end = start
+ thp_size(page);
694
695 if (i_size < start)
696 return 0;
697 if (i_size < end)
698 return i_size - start;
699 return end - start;
700 }
701
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org