mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [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
@ 2022-08-07 19:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-07 19:58 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:   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@intel.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-07 19:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-07 19:58 [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 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®