[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210080424.gSmuYfb0-lkp@intel.com>
Date: Sat, 8 Oct 2022 04:39:11 +0800
From: kernel test robot <lkp@...el.com>
To: Max Gurtovoy <mgurtovoy@...dia.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
"Michael S. Tsirkin" <mst@...hat.com>,
Johannes Thumshirn <johannes.thumshirn@....com>
Subject: [mst-vhost:vhost 11/19] drivers/virtio/virtio_pci_common.c:617:35:
error: called object type 'void *' is not a function or function pointer
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
head: 0613363a73cff31ebfbb0b13a6522b13d68c3a66
commit: 5d300519d4977317e70c62031c4b2cf282a42710 [11/19] virtio_pci: use common helper to configure SR-IOV
config: i386-randconfig-a002-20221003
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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/mst/vhost.git/commit/?id=5d300519d4977317e70c62031c4b2cf282a42710
git remote add mst-vhost https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git
git fetch --no-tags mst-vhost vhost
git checkout 5d300519d4977317e70c62031c4b2cf282a42710
# 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=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/virtio/virtio_pci_common.c:617:35: error: called object type 'void *' is not a function or function pointer
return pci_sriov_configure_simple(pci_dev, num_vfs);
~~~~~~~~~~~~~~~~~~~~~~~~~~^
1 error generated.
vim +617 drivers/virtio/virtio_pci_common.c
605
606 static int virtio_pci_sriov_configure(struct pci_dev *pci_dev, int num_vfs)
607 {
608 struct virtio_pci_device *vp_dev = pci_get_drvdata(pci_dev);
609 struct virtio_device *vdev = &vp_dev->vdev;
610
611 if (!(vdev->config->get_status(vdev) & VIRTIO_CONFIG_S_DRIVER_OK))
612 return -EBUSY;
613
614 if (!__virtio_test_bit(vdev, VIRTIO_F_SR_IOV))
615 return -EINVAL;
616
> 617 return pci_sriov_configure_simple(pci_dev, num_vfs);
618 }
619
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (154243 bytes)
Powered by blists - more mailing lists