From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [mingo-tip:sched/headers 1760/2579] fs/ceph/cache.h:130:9: error: call to undeclared function 'filemap_dirty_folio'; ISO C99 and later do not support implicit function declarations
Date: Sun, 24 Apr 2022 00:29:09 +0800 [thread overview]
Message-ID: <202204240008.JDntM9cU-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 49e1ec6c70a6eb4b7de9250a455b8b63eb42afbe
commit: 5906052f724ace8783a32193d743f4db58a3bfee [1760/2579] headers/deps: writeback: Remove the <linux/writeback_api.h> header from <linux/writeback.h>
config: x86_64-randconfig-c007 (https://download.01.org/0day-ci/archive/20220424/202204240008.JDntM9cU-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 1cddcfdc3c683b393df1a5c9063252eb60e52818)
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/mingo/tip.git/commit/?id=5906052f724ace8783a32193d743f4db58a3bfee
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout 5906052f724ace8783a32193d743f4db58a3bfee
# 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/
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 >>):
In file included from fs/ceph/caps.c:33:
>> fs/ceph/cache.h:130:9: error: call to undeclared function 'filemap_dirty_folio'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
return filemap_dirty_folio(mapping, folio);
^
fs/ceph/cache.h:130:9: note: did you mean 'filemap_get_folio'?
include/linux/pagemap.h:525:29: note: 'filemap_get_folio' declared here
static inline struct folio *filemap_get_folio(struct address_space *mapping,
^
1 error generated.
vim +/filemap_dirty_folio +130 fs/ceph/cache.h
400e1286c0ec3f Jeff Layton 2021-12-07 126
8fb72b4a76933a Matthew Wilcox (Oracle 2022-02-09 127) static inline int ceph_fscache_dirty_folio(struct address_space *mapping,
8fb72b4a76933a Matthew Wilcox (Oracle 2022-02-09 128) struct folio *folio)
400e1286c0ec3f Jeff Layton 2021-12-07 129 {
8fb72b4a76933a Matthew Wilcox (Oracle 2022-02-09 @130) return filemap_dirty_folio(mapping, folio);
400e1286c0ec3f Jeff Layton 2021-12-07 131 }
400e1286c0ec3f Jeff Layton 2021-12-07 132
:::::: The code at line 130 was first introduced by commit
:::::: 8fb72b4a76933ae6f86725cc8e4a8190ba84d755 fscache: Convert fscache_set_page_dirty() to fscache_dirty_folio()
:::::: TO: Matthew Wilcox (Oracle) <willy@infradead.org>
:::::: CC: Matthew Wilcox (Oracle) <willy@infradead.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-04-23 16:30 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=202204240008.JDntM9cU-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mingo@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox