[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202208080311.PD3w4obC-lkp@intel.com>
Date: Mon, 8 Aug 2022 03:58:05 +0800
From: kernel test robot <lkp@...el.com>
To: Chao Yu <yuchao0@...wei.com>, Chao Yu <chao@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
Chao Yu <yuchao0@...wei.com>, Chao Yu <chao@...nel.org>,
linux-kernel@...r.kernel.org
Subject: [chao:feature/dax 5/10] fs/f2fs/data.c:4269:9: error: call to
undeclared function 'dax_writeback_mapping_range'; ISO C99 and later do not
support implicit function declarations
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git feature/dax
head: 42f73c9b2a369f724de6c1df5acb0bbde2688e35
commit: aaddcbec6617facbd1efa6f3d42747bc9eddcb26 [5/10] f2fs: support dax address space operation
config: x86_64-randconfig-a012 (https://download.01.org/0day-ci/archive/20220808/202208080311.PD3w4obC-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520)
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=aaddcbec6617facbd1efa6f3d42747bc9eddcb26
git remote add chao https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git
git fetch --no-tags chao feature/dax
git checkout aaddcbec6617facbd1efa6f3d42747bc9eddcb26
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/f2fs/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> fs/f2fs/data.c:4269:9: error: call to undeclared function 'dax_writeback_mapping_range'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
^
1 error generated.
vim +/dax_writeback_mapping_range +4269 fs/f2fs/data.c
4260
4261 static int f2fs_dax_writepages(struct address_space *mapping,
4262 struct writeback_control *wbc)
4263 {
4264 struct f2fs_sb_info *sbi = F2FS_I_SB(mapping->host);
4265
4266 if (unlikely(f2fs_cp_error(sbi)))
4267 return -EIO;
4268
> 4269 return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
4270 }
4271
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists