All of lore.kernel.org
 help / color / mirror / Atom feed
* [broonie-ci:file4opaUI 20/24] drivers/spi/spi-intel.c:808:43: error: too many arguments to function call, expected 3, have 4
@ 2022-04-19 19:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-19 19:26 UTC (permalink / raw)
  To: Mika Westerberg; +Cc: llvm, kbuild-all, linux-kernel, Mark Brown

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@intel.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

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

only message in thread, other threads:[~2022-04-19 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19 19:26 [broonie-ci:file4opaUI 20/24] drivers/spi/spi-intel.c:808:43: error: too many arguments to function call, expected 3, have 4 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.