lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 30 Dec 2021 13:32:06 +0800
From:   kernel test robot <lkp@...el.com>
To:     Goldwyn Rodrigues <rgoldwyn@...e.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [goldwynr:iomap 4/33] fs/erofs/data.c:291:46: error: too few
 arguments to function call, expected 3, have 2

tree:   https://github.com/goldwynr/linux iomap
head:   30c74a8c201365178cae26d0d7aefa120c3245ab
commit: 0a74a7494220c731edd0f327149f56a4da3419c4 [4/33] iomap: Introduce iomap_readpage_ops
config: mips-randconfig-r022-20211230 (https://download.01.org/0day-ci/archive/20211230/202112301319.grQYJV0u-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project cd284b7ac0615afc6e0f1a30da2777e361de27a3)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://github.com/goldwynr/linux/commit/0a74a7494220c731edd0f327149f56a4da3419c4
        git remote add goldwynr https://github.com/goldwynr/linux
        git fetch --no-tags goldwynr iomap
        git checkout 0a74a7494220c731edd0f327149f56a4da3419c4
        # 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=mips SHELL=/bin/bash fs/erofs/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> fs/erofs/data.c:291:46: error: too few arguments to function call, expected 3, have 2
           return iomap_readpage(page, &erofs_iomap_ops);
                  ~~~~~~~~~~~~~~                       ^
   include/linux/iomap.h:235:5: note: 'iomap_readpage' declared here
   int iomap_readpage(struct page *page, const struct iomap_ops *ops,
       ^
   fs/erofs/data.c:296:46: error: too few arguments to function call, expected 3, have 2
           return iomap_readahead(rac, &erofs_iomap_ops);
                  ~~~~~~~~~~~~~~~                      ^
   include/linux/iomap.h:237:6: note: 'iomap_readahead' declared here
   void iomap_readahead(struct readahead_control *, const struct iomap_ops *ops,
        ^
   2 errors generated.


vim +291 fs/erofs/data.c

eadcd6b5a1eb398 Gao Xiang 2021-08-13  284  
771c994ea51f572 Gao Xiang 2021-08-05  285  /*
771c994ea51f572 Gao Xiang 2021-08-05  286   * since we dont have write or truncate flows, so no inode
771c994ea51f572 Gao Xiang 2021-08-05  287   * locking needs to be held at the moment.
771c994ea51f572 Gao Xiang 2021-08-05  288   */
771c994ea51f572 Gao Xiang 2021-08-05  289  static int erofs_readpage(struct file *file, struct page *page)
771c994ea51f572 Gao Xiang 2021-08-05  290  {
771c994ea51f572 Gao Xiang 2021-08-05 @291  	return iomap_readpage(page, &erofs_iomap_ops);
771c994ea51f572 Gao Xiang 2021-08-05  292  }
771c994ea51f572 Gao Xiang 2021-08-05  293  

:::::: The code at line 291 was first introduced by commit
:::::: 771c994ea51f572539ca3961c6a7706862b147e2 erofs: convert all uncompressed cases to iomap

:::::: TO: Gao Xiang <hsiangkao@...ux.alibaba.com>
:::::: CC: Gao Xiang <hsiangkao@...ux.alibaba.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ