mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chao Yu <yuchao0@huawei.com>, Chao Yu <chao@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Chao Yu <yuchao0@huawei.com>, Chao Yu <chao@kernel.org>,
	linux-kernel@vger.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
Date: Mon, 8 Aug 2022 03:58:05 +0800	[thread overview]
Message-ID: <202208080311.PD3w4obC-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-08-07 19:58 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=202208080311.PD3w4obC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chao@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --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

all inboxes | Powered by JetHome®