[chao-linux:feature/dax 6/11] fs/f2fs/data.c:4262:51: error: no member named 's_daxdev' in 'struct f2fs_sb_info'
From: kernel test robot
Date: Wed Aug 25 2021 - 15:26:03 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git feature/dax
head: 1e51aff10ad27548ead6f2d7c0198bcb969fd631
commit: 7b903d19055bf2665d9b5a895ecf5fc5d89e93ca [6/11] f2fs: support dax address space operation
config: hexagon-buildonly-randconfig-r005-20210825 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project ea08c4cd1c0869ec5024a8bb3f5cdf06ab03ae83)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?id=7b903d19055bf2665d9b5a895ecf5fc5d89e93ca
git remote add chao-linux https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git
git fetch --no-tags chao-linux feature/dax
git checkout 7b903d19055bf2665d9b5a895ecf5fc5d89e93ca
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=hexagon SHELL=/bin/bash fs/f2fs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> fs/f2fs/data.c:4262:51: error: no member named 's_daxdev' in 'struct f2fs_sb_info'
return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
~~~ ^
1 error generated.
vim +4262 fs/f2fs/data.c
4253
4254 static int f2fs_dax_writepages(struct address_space *mapping,
4255 struct writeback_control *wbc)
4256 {
4257 struct f2fs_sb_info *sbi = F2FS_I_SB(mapping->host);
4258
4259 if (unlikely(f2fs_cp_error(sbi)))
4260 return -EIO;
4261
> 4262 return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
4263 }
4264
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip