tree:
https://git.kernel.org/pub/scm/linux/kernel/git/xiang/linux.git erofs/bigpcluster
head: 5dafd554d91bf4e2dc40e9974b920ef33a29ee0a
commit: b2125db45e12b9f5c5e7ae370cfa90bb21f5e428 [11/13] erofs: adjust per-CPU buffers
according to max_pclusterblks
config: s390-randconfig-r015-20210228 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
83bc7815c4235786111aa2abf7193292e4a602f5)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/xiang/linux.git/commit/?i...
git remote add xiang-linux
https://git.kernel.org/pub/scm/linux/kernel/git/xiang/linux.git
git fetch --no-tags xiang-linux erofs/bigpcluster
git checkout b2125db45e12b9f5c5e7ae370cfa90bb21f5e428
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
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/erofs/super.c:15:
In file included from fs/erofs/xattr.h:10:
fs/erofs/internal.h:445:18: error: no member named 'lz4_max_distance' in
'struct erofs_super_block'
if (lz4 || dsb->lz4_max_distance) {
~~~ ^
> fs/erofs/super.c:524:36: error: no member named 'lz4' in
'struct erofs_sb_info'
err =
erofs_pcpubuf_growsize(sbi->lz4.max_pclusterblks);
~~~ ^
2 errors generated.
vim +524 fs/erofs/super.c
523
524 err = erofs_pcpubuf_growsize(sbi->lz4.max_pclusterblks);
525 if (err)
526 return err;
527
528 /* get the root inode */
529 inode = erofs_iget(sb, ROOT_NID(sbi), true);
530 if (IS_ERR(inode))
531 return PTR_ERR(inode);
532
533 if (!S_ISDIR(inode->i_mode)) {
534 erofs_err(sb, "rootino(nid %llu) is not a directory(i_mode %o)",
535 ROOT_NID(sbi), inode->i_mode);
536 iput(inode);
537 return -EINVAL;
538 }
539
540 sb->s_root = d_make_root(inode);
541 if (!sb->s_root)
542 return -ENOMEM;
543
544 erofs_shrinker_register(sb);
545 /* sb->s_umount is already locked, SB_ACTIVE and SB_BORN are not set */
546 err = erofs_init_managed_cache(sb);
547 if (err)
548 return err;
549
550 erofs_info(sb, "mounted with root inode @ nid %llu.", ROOT_NID(sbi));
551 return 0;
552 }
553
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org