public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chao Yu <yuchao0@huawei.com>, Chao Yu <chao@kernel.org>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	Chao Yu <yuchao0@huawei.com>, Chao Yu <chao@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: [chao-linux:feature/dax 10/11] fs/f2fs/file.c:1110:10: error: implicit declaration of function 'dax_layout_busy_page'
Date: Thu, 26 Aug 2021 04:29:16 +0800	[thread overview]
Message-ID: <202108260409.hoZkLTlv-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git feature/dax
head:   1e51aff10ad27548ead6f2d7c0198bcb969fd631
commit: ade6fd14e71c0b9853df452233168464361d4ee4 [10/11] f2fs: handle layout changes to pinned DAX mappings
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=ade6fd14e71c0b9853df452233168464361d4ee4
        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 ade6fd14e71c0b9853df452233168464361d4ee4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   fs/f2fs/file.c:588:7: error: implicit declaration of function 'daxdev_mapping_supported' [-Werror,-Wimplicit-function-declaration]
           if (!daxdev_mapping_supported(vma, F2FS_I_SB(inode)->s_daxdev))
                ^
   fs/f2fs/file.c:588:55: error: no member named 's_daxdev' in 'struct f2fs_sb_info'
           if (!daxdev_mapping_supported(vma, F2FS_I_SB(inode)->s_daxdev))
                                              ~~~~~~~~~~~~~~~~  ^
>> fs/f2fs/file.c:1110:10: error: implicit declaration of function 'dax_layout_busy_page' [-Werror,-Wimplicit-function-declaration]
                   page = dax_layout_busy_page(inode->i_mapping);
                          ^
>> fs/f2fs/file.c:1110:8: warning: incompatible integer to pointer conversion assigning to 'struct page *' from 'int' [-Wint-conversion]
                   page = dax_layout_busy_page(inode->i_mapping);
                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 warning and 3 errors generated.


vim +/dax_layout_busy_page +1110 fs/f2fs/file.c

  1100	
  1101	int f2fs_break_layouts(struct inode *inode)
  1102	{
  1103		struct page *page;
  1104		int error;
  1105	
  1106		if (WARN_ON_ONCE(!rwsem_is_locked(&F2FS_I(inode)->i_mmap_sem)))
  1107			return -EINVAL;
  1108	
  1109		do {
> 1110			page = dax_layout_busy_page(inode->i_mapping);
  1111			if (!page)
  1112				return 0;
  1113	
  1114			error = ___wait_var_event(&page->_refcount,
  1115					atomic_read(&page->_refcount) == 1,
  1116					TASK_INTERRUPTIBLE, 0, 0,
  1117					f2fs_wait_dax_page(inode));
  1118		} while (error == 0);
  1119	
  1120		return error;
  1121	}
  1122	

---
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: 26403 bytes --]

                 reply	other threads:[~2021-08-25 20:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202108260409.hoZkLTlv-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chao@kernel.org \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yuchao0@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox