* [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
@ 2022-04-23 16:29 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-23 16:29 UTC (permalink / raw)
To: Ingo Molnar; +Cc: llvm, kbuild-all, linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-23 16:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-23 16:29 [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 kernel test robot
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.