LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [chao-linux:feature/dax 6/11] fs/f2fs/data.c:4262:16: error: implicit declaration of function 'dax_writeback_mapping_range'
@ 2021-08-26  0:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-26  0:13 UTC (permalink / raw)
  To: Chao Yu, Chao Yu; +Cc: kbuild-all, Chao Yu, Chao Yu, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2397 bytes --]

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: alpha-randconfig-c024-20210825 (attached as .config)
compiler: alpha-linux-gcc (GCC) 11.2.0
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
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=alpha 

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: In function 'f2fs_dax_writepages':
>> fs/f2fs/data.c:4262:16: error: implicit declaration of function 'dax_writeback_mapping_range' [-Werror=implicit-function-declaration]
    4262 |         return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
         |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/f2fs/data.c:4262:56: error: 'struct f2fs_sb_info' has no member named 's_daxdev'
    4262 |         return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
         |                                                        ^~
   fs/f2fs/data.c:4263:1: error: control reaches end of non-void function [-Werror=return-type]
    4263 | }
         | ^
   cc1: some warnings being treated as errors


vim +/dax_writeback_mapping_range +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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33210 bytes --]

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

only message in thread, other threads:[~2021-08-26  0:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26  0:13 [chao-linux:feature/dax 6/11] fs/f2fs/data.c:4262:16: error: implicit declaration of function 'dax_writeback_mapping_range' 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;
as well as URLs for NNTP newsgroup(s).