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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 14 Oct 2021 08:28:48 +0800
From:   kernel test robot <lkp@...el.com>
To:     Andreas Gruenbacher <agruenba@...hat.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        cluster-devel@...hat.com, linux-kernel@...r.kernel.org
Subject: [gfs2:for-next 14/38] fs/erofs/data.c:290:17: error: too few
 arguments to function call, expected 6, have 5

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next
head:   9d0084204c8a7e01f9b8ebe81402be61e0a67a62
commit: ec80c70d41f2bb63d9e62204d3a3450c41678f67 [14/38] iomap: Add done_before argument to iomap_dio_rw
config: mips-randconfig-r015-20211013 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a8c695542b2987eb9a203d5663a0740cb4725f)
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://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/commit/?id=ec80c70d41f2bb63d9e62204d3a3450c41678f67
        git remote add gfs2 https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
        git fetch --no-tags gfs2 for-next
        git checkout ec80c70d41f2bb63d9e62204d3a3450c41678f67
        # save the attached .config 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 drivers/pci/ 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:290:17: error: too few arguments to function call, expected 6, have 5
                                               NULL, 0);
                                                      ^
   include/linux/iomap.h:340:9: note: 'iomap_dio_rw' declared here
   ssize_t iomap_dio_rw(struct kiocb *iocb, struct iov_iter *iter,
           ^
   1 error generated.


vim +290 fs/erofs/data.c

a08e67a0280215 Huang Jianan 2021-08-05  274  
a08e67a0280215 Huang Jianan 2021-08-05  275  static ssize_t erofs_file_read_iter(struct kiocb *iocb, struct iov_iter *to)
a08e67a0280215 Huang Jianan 2021-08-05  276  {
a08e67a0280215 Huang Jianan 2021-08-05  277  	/* no need taking (shared) inode lock since it's a ro filesystem */
a08e67a0280215 Huang Jianan 2021-08-05  278  	if (!iov_iter_count(to))
a08e67a0280215 Huang Jianan 2021-08-05  279  		return 0;
a08e67a0280215 Huang Jianan 2021-08-05  280  
06252e9ce05b94 Gao Xiang    2021-08-05  281  #ifdef CONFIG_FS_DAX
06252e9ce05b94 Gao Xiang    2021-08-05  282  	if (IS_DAX(iocb->ki_filp->f_mapping->host))
06252e9ce05b94 Gao Xiang    2021-08-05  283  		return dax_iomap_rw(iocb, to, &erofs_iomap_ops);
06252e9ce05b94 Gao Xiang    2021-08-05  284  #endif
a08e67a0280215 Huang Jianan 2021-08-05  285  	if (iocb->ki_flags & IOCB_DIRECT) {
a08e67a0280215 Huang Jianan 2021-08-05  286  		int err = erofs_prepare_dio(iocb, to);
a08e67a0280215 Huang Jianan 2021-08-05  287  
a08e67a0280215 Huang Jianan 2021-08-05  288  		if (!err)
a08e67a0280215 Huang Jianan 2021-08-05  289  			return iomap_dio_rw(iocb, to, &erofs_iomap_ops,
a08e67a0280215 Huang Jianan 2021-08-05 @290  					    NULL, 0);
a08e67a0280215 Huang Jianan 2021-08-05  291  		if (err < 0)
a08e67a0280215 Huang Jianan 2021-08-05  292  			return err;
a08e67a0280215 Huang Jianan 2021-08-05  293  	}
a08e67a0280215 Huang Jianan 2021-08-05  294  	return filemap_read(iocb, to, 0);
a08e67a0280215 Huang Jianan 2021-08-05  295  }
a08e67a0280215 Huang Jianan 2021-08-05  296  

:::::: The code at line 290 was first introduced by commit
:::::: a08e67a0280215f74eccf14fda81dd7fed6596ba erofs: iomap support for non-tailpacking DIO

:::::: TO: Huang Jianan <huangjianan@...o.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

Download attachment ".config.gz" of type "application/gzip" (38266 bytes)

Powered by blists - more mailing lists