* [chao:feature/dax 5/9] fs/f2fs/data.c:4178:9: error: implicit declaration of function 'dax_writeback_mapping_range'
@ 2021-12-20 15:19 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-20 15:19 UTC (permalink / raw)
To: Chao Yu, Chao Yu; +Cc: llvm, kbuild-all, Chao Yu, Chao Yu, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git feature/dax
head: d08999836fd60ab725eee1f5a5fb3b00f7bcefd3
commit: 2908c6445a36c37b0af40ba94f72c957a87d8fd8 [5/9] f2fs: support dax address space operation
config: mips-randconfig-r002-20211220 (https://download.01.org/0day-ci/archive/20211220/202112202302.OWA4emnZ-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 683cbc12b33e5c8dc8d29bf5ed79fbf45763aadd)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?id=2908c6445a36c37b0af40ba94f72c957a87d8fd8
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 2908c6445a36c37b0af40ba94f72c957a87d8fd8
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash fs/f2fs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> fs/f2fs/data.c:4178:9: error: implicit declaration of function 'dax_writeback_mapping_range' [-Werror,-Wimplicit-function-declaration]
return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
^
1 error generated.
vim +/dax_writeback_mapping_range +4178 fs/f2fs/data.c
4169
4170 static int f2fs_dax_writepages(struct address_space *mapping,
4171 struct writeback_control *wbc)
4172 {
4173 struct f2fs_sb_info *sbi = F2FS_I_SB(mapping->host);
4174
4175 if (unlikely(f2fs_cp_error(sbi)))
4176 return -EIO;
4177
> 4178 return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
4179 }
4180
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* [chao:feature/dax 5/9] fs/f2fs/data.c:4178:9: error: implicit declaration of function 'dax_writeback_mapping_range'
@ 2021-12-20 15:19 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-20 15:19 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2258 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git feature/dax
head: d08999836fd60ab725eee1f5a5fb3b00f7bcefd3
commit: 2908c6445a36c37b0af40ba94f72c957a87d8fd8 [5/9] f2fs: support dax address space operation
config: mips-randconfig-r002-20211220 (https://download.01.org/0day-ci/archive/20211220/202112202302.OWA4emnZ-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 683cbc12b33e5c8dc8d29bf5ed79fbf45763aadd)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?id=2908c6445a36c37b0af40ba94f72c957a87d8fd8
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 2908c6445a36c37b0af40ba94f72c957a87d8fd8
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash fs/f2fs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> fs/f2fs/data.c:4178:9: error: implicit declaration of function 'dax_writeback_mapping_range' [-Werror,-Wimplicit-function-declaration]
return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
^
1 error generated.
vim +/dax_writeback_mapping_range +4178 fs/f2fs/data.c
4169
4170 static int f2fs_dax_writepages(struct address_space *mapping,
4171 struct writeback_control *wbc)
4172 {
4173 struct f2fs_sb_info *sbi = F2FS_I_SB(mapping->host);
4174
4175 if (unlikely(f2fs_cp_error(sbi)))
4176 return -EIO;
4177
> 4178 return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
4179 }
4180
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-20 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-20 15:19 [chao:feature/dax 5/9] fs/f2fs/data.c:4178:9: error: implicit declaration of function 'dax_writeback_mapping_range' kernel test robot
2021-12-20 15:19 ` kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.