From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chao:feature/dax 5/9] fs/f2fs/data.c:4178:16: error: implicit declaration of function 'dax_writeback_mapping_range'
Date: Tue, 21 Dec 2021 06:49:13 +0800 [thread overview]
Message-ID: <202112210648.cDXIAYGW-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2212 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: microblaze-randconfig-r015-20211220 (https://download.01.org/0day-ci/archive/20211221/202112210648.cDXIAYGW-lkp(a)intel.com/config)
compiler: microblaze-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=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=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze 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: In function 'f2fs_dax_writepages':
>> fs/f2fs/data.c:4178:16: error: implicit declaration of function 'dax_writeback_mapping_range' [-Werror=implicit-function-declaration]
4178 | return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
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
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Chao Yu <yuchao0@huawei.com>, Chao Yu <chao@kernel.org>
Cc: 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/9] fs/f2fs/data.c:4178:16: error: implicit declaration of function 'dax_writeback_mapping_range'
Date: Tue, 21 Dec 2021 06:49:13 +0800 [thread overview]
Message-ID: <202112210648.cDXIAYGW-lkp@intel.com> (raw)
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: microblaze-randconfig-r015-20211220 (https://download.01.org/0day-ci/archive/20211221/202112210648.cDXIAYGW-lkp@intel.com/config)
compiler: microblaze-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=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=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze 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: In function 'f2fs_dax_writepages':
>> fs/f2fs/data.c:4178:16: error: implicit declaration of function 'dax_writeback_mapping_range' [-Werror=implicit-function-declaration]
4178 | return dax_writeback_mapping_range(mapping, sbi->s_daxdev, wbc);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
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
next reply other threads:[~2021-12-20 22:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-20 22:49 kernel test robot [this message]
2021-12-20 22:49 ` [chao:feature/dax 5/9] fs/f2fs/data.c:4178:16: error: implicit declaration of function 'dax_writeback_mapping_range' kernel test robot
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=202112210648.cDXIAYGW-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 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.