mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [willy-pagecache:for-next 164/179] fs/ceph/cache.h:139:34: error: too few arguments to function call, expected 2, have 1
@ 2022-03-15 13:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-15 13:13 UTC (permalink / raw)
  To: Matthew Wilcox (Oracle); +Cc: llvm, kbuild-all, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-15 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15 13:13 [willy-pagecache:for-next 164/179] fs/ceph/cache.h:139:34: error: too few arguments to function call, expected 2, have 1 kernel test robot

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®