lkml.org 
[lkml]   [2022]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[willy-pagecache:for-next 164/179] fs/ceph/cache.h:139:34: error: too few arguments to function call, expected 2, have 1
tree:   git://git.infradead.org/users/willy/pagecache for-next
head: af564d7369d44fbbe697a5f631fe3bba5ebecd59
commit: 09f7fc259e5dd9ab97313b62bdfc9b56abf0ef1d [164/179] fscache: Convert fscache_set_page_dirty() to fscache_dirty_folio()
config: riscv-randconfig-r042-20220314 (https://download.01.org/0day-ci/archive/20220315/202203152117.IvekpOeL-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6b2f50fb47da3baeee10b1906da6e30ac5d26ec)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
git remote add willy-pagecache git://git.infradead.org/users/willy/pagecache
git fetch --no-tags willy-pagecache for-next
git checkout 09f7fc259e5dd9ab97313b62bdfc9b56abf0ef1d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv 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/super.c:22:
>> fs/ceph/cache.h:139:34: error: too few arguments to function call, expected 2, have 1
return filemap_dirty_folio(folio);
~~~~~~~~~~~~~~~~~~~ ^
include/linux/writeback.h:393:6: note: 'filemap_dirty_folio' declared here
bool filemap_dirty_folio(struct address_space *mapping, struct folio *folio);
^
1 error generated.


vim +139 fs/ceph/cache.h

135
136 static inline int ceph_fscache_dirty_folio(struct address_space *mapping,
137 struct folio *folio)
138 {
> 139 return filemap_dirty_folio(folio);
140 }
141

---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

\
 
 \ /
  Last update: 2022-03-15 14:15    [W:0.035 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site