tree:
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git rdma-next
head: 5aa7b605908f33f6394d773031b3335eaaf06fe1
commit: f795e68dc20b9f64e285102d470657ee64b4ea3c [12/29] PCI: Add a sysfs file to change
the MSI-X table size of SR-IOV VFs
config: x86_64-randconfig-a015-20210228 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
b077d82b00d81934c7c27ac89dd8b0e7f448bded)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/commi...
git remote add leon-rdma
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
git fetch --no-tags leon-rdma rdma-next
git checkout f795e68dc20b9f64e285102d470657ee64b4ea3c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/pci/iov.c:497:3: error: use of undeclared identifier
'dev_attr_sriov_vf_total_msix'; did you mean 'dev_attr_sriov_totalvfs'?
&dev_attr_sriov_vf_total_msix.attr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
dev_attr_sriov_totalvfs
drivers/pci/iov.c:483:8: note: 'dev_attr_sriov_totalvfs' declared here
static DEVICE_ATTR_RO(sriov_totalvfs);
^
include/linux/device.h:135:26: note: expanded from macro 'DEVICE_ATTR_RO'
struct device_attribute dev_attr_##_name = __ATTR_RO(_name)
^
<scratch space>:96:1: note: expanded from here
dev_attr_sriov_totalvfs
^
1 error generated.
vim +497 drivers/pci/iov.c
489
490 static struct attribute *sriov_pf_dev_attrs[] = {
491 &dev_attr_sriov_totalvfs.attr,
492 &dev_attr_sriov_numvfs.attr,
493 &dev_attr_sriov_offset.attr,
494 &dev_attr_sriov_stride.attr,
495 &dev_attr_sriov_vf_device.attr,
496 &dev_attr_sriov_drivers_autoprobe.attr,
497 &dev_attr_sriov_vf_total_msix.attr,
498 NULL,
499 };
500
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org