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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204200302.RR7dzxDb-lkp@intel.com>
Date:   Wed, 20 Apr 2022 03:26:57 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mika Westerberg <mika.westerberg@...ux.intel.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>
Subject: [broonie-ci:file4opaUI 20/24] drivers/spi/spi-intel.c:808:43: error:
 too many arguments to function call, expected 3, have 4

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git file4opaUI
head:   64ef86292800d770fcd8916cf07b1bea58559680
commit: 246bb4cbc6a55a247e5e0afd57c91e0dec0c77c3 [20/24] spi: intel: Implement dirmap hooks
config: arm-randconfig-r025-20220419 (https://download.01.org/0day-ci/archive/20220420/202204200302.RR7dzxDb-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c1c49a356162b22554088d269f7689bdb044a9f1)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git/commit/?id=246bb4cbc6a55a247e5e0afd57c91e0dec0c77c3
        git remote add broonie-ci https://git.kernel.org/pub/scm/linux/kernel/git/broonie/ci.git
        git fetch --no-tags broonie-ci file4opaUI
        git checkout 246bb4cbc6a55a247e5e0afd57c91e0dec0c77c3
        # 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=arm SHELL=/bin/bash drivers/spi/

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 >>):

>> drivers/spi/spi-intel.c:808:43: error: too many arguments to function call, expected 3, have 4
           ret = iop->exec_op(ispi, desc->mem, iop, &op);
                 ~~~~~~~~~~~~                       ^~~
   drivers/spi/spi-intel.c:824:43: error: too many arguments to function call, expected 3, have 4
           ret = iop->exec_op(ispi, desc->mem, iop, &op);
                 ~~~~~~~~~~~~                       ^~~
   2 errors generated.


vim +808 drivers/spi/spi-intel.c

   794	
   795	static ssize_t intel_spi_dirmap_read(struct spi_mem_dirmap_desc *desc, u64 offs,
   796					     size_t len, void *buf)
   797	{
   798		struct intel_spi *ispi = spi_master_get_devdata(desc->mem->spi->master);
   799		const struct intel_spi_mem_op *iop = desc->priv;
   800		struct spi_mem_op op = desc->info.op_tmpl;
   801		int ret;
   802	
   803		/* Fill in the gaps */
   804		op.addr.val = offs;
   805		op.data.nbytes = len;
   806		op.data.buf.in = buf;
   807	
 > 808		ret = iop->exec_op(ispi, desc->mem, iop, &op);
   809		return ret ? ret : len;
   810	}
   811	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ