tree: https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git queue-next head: 3d33fd0810a1c1fe642429aaecb00fcd8aa74a7a commit: 3d33fd0810a1c1fe642429aaecb00fcd8aa74a7a [2/2] Merge branch 'testing/rdma-next' into queue-next config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gcc (GCC) 11.2.0 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 # https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git/commit/?id=3d33fd0810a1c1fe642429aaecb00fcd8aa74a7a git remote add mellanox https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git git fetch --no-tags mellanox queue-next git checkout 3d33fd0810a1c1fe642429aaecb00fcd8aa74a7a # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash drivers/net/wwan/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/net/wwan/mhi_wwan_mbim.c: In function 'mhi_mbim_probe': >> drivers/net/wwan/mhi_wwan_mbim.c:612:15: error: too many arguments to function 'mhi_prepare_for_transfer' 612 | err = mhi_prepare_for_transfer(mhi_dev, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wwan/mhi_wwan_mbim.c:18: include/linux/mhi.h:725:5: note: declared here 725 | int mhi_prepare_for_transfer(struct mhi_device *mhi_dev); | ^~~~~~~~~~~~~~~~~~~~~~~~ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA Selected by - SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC - SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC vim +/mhi_prepare_for_transfer +612 drivers/net/wwan/mhi_wwan_mbim.c aa730a9905b7b0 Loic Poulain 2021-08-03 593 aa730a9905b7b0 Loic Poulain 2021-08-03 594 static int mhi_mbim_probe(struct mhi_device *mhi_dev, const struct mhi_device_id *id) aa730a9905b7b0 Loic Poulain 2021-08-03 595 { aa730a9905b7b0 Loic Poulain 2021-08-03 596 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; aa730a9905b7b0 Loic Poulain 2021-08-03 597 struct mhi_mbim_context *mbim; aa730a9905b7b0 Loic Poulain 2021-08-03 598 int err; aa730a9905b7b0 Loic Poulain 2021-08-03 599 aa730a9905b7b0 Loic Poulain 2021-08-03 600 mbim = devm_kzalloc(&mhi_dev->dev, sizeof(*mbim), GFP_KERNEL); aa730a9905b7b0 Loic Poulain 2021-08-03 601 if (!mbim) aa730a9905b7b0 Loic Poulain 2021-08-03 602 return -ENOMEM; aa730a9905b7b0 Loic Poulain 2021-08-03 603 94c0a6fbd5cfc3 Wei Yongjun 2021-08-08 604 spin_lock_init(&mbim->tx_lock); aa730a9905b7b0 Loic Poulain 2021-08-03 605 dev_set_drvdata(&mhi_dev->dev, mbim); aa730a9905b7b0 Loic Poulain 2021-08-03 606 mbim->mdev = mhi_dev; aa730a9905b7b0 Loic Poulain 2021-08-03 607 mbim->mru = mhi_dev->mhi_cntrl->mru ? mhi_dev->mhi_cntrl->mru : MHI_DEFAULT_MRU; aa730a9905b7b0 Loic Poulain 2021-08-03 608 aa730a9905b7b0 Loic Poulain 2021-08-03 609 INIT_DELAYED_WORK(&mbim->rx_refill, mhi_net_rx_refill_work); aa730a9905b7b0 Loic Poulain 2021-08-03 610 aa730a9905b7b0 Loic Poulain 2021-08-03 611 /* Start MHI channels */ 0ca8d3ca456153 Jakub Kicinski 2021-08-05 @612 err = mhi_prepare_for_transfer(mhi_dev, 0); aa730a9905b7b0 Loic Poulain 2021-08-03 613 if (err) aa730a9905b7b0 Loic Poulain 2021-08-03 614 return err; aa730a9905b7b0 Loic Poulain 2021-08-03 615 aa730a9905b7b0 Loic Poulain 2021-08-03 616 /* Number of transfer descriptors determines size of the queue */ aa730a9905b7b0 Loic Poulain 2021-08-03 617 mbim->rx_queue_sz = mhi_get_free_desc_count(mhi_dev, DMA_FROM_DEVICE); aa730a9905b7b0 Loic Poulain 2021-08-03 618 aa730a9905b7b0 Loic Poulain 2021-08-03 619 /* Register wwan link ops with MHI controller representing WWAN instance */ aa730a9905b7b0 Loic Poulain 2021-08-03 620 return wwan_register_ops(&cntrl->mhi_dev->dev, &mhi_mbim_wwan_ops, mbim, 0); aa730a9905b7b0 Loic Poulain 2021-08-03 621 } aa730a9905b7b0 Loic Poulain 2021-08-03 622 :::::: The code at line 612 was first introduced by commit :::::: 0ca8d3ca4561535f97b31e7b8de569c69bc3b27b Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net :::::: TO: Jakub Kicinski :::::: CC: Jakub Kicinski --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org