Hi Phil, [auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Phil-Sutter/net-dummy-Introduce-dummy-virtual-functions/20161112-013558 config: m68k-sun3_defconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=m68k All errors (new ones prefixed by >>): drivers/net/dummy.c:53:2: error: unknown field 'sriov' specified in initializer .sriov = &pdev_sriov, ^ drivers/net/dummy.c:53:2: warning: initialization makes integer from pointer without a cast drivers/net/dummy.c:53:2: warning: (near initialization for 'pci_pdev.is_virtfn') drivers/net/dummy.c:53:2: error: initializer element is not computable at load time drivers/net/dummy.c:53:2: error: (near initialization for 'pci_pdev.is_virtfn') >> drivers/net/dummy.c:54:14: error: 'pci_bus_type' undeclared here (not in a >> function) .dev.bus = &pci_bus_type, ^ vim +/pci_bus_type +54 drivers/net/dummy.c 47 static int num_vfs; 48 49 static struct pci_sriov pdev_sriov; 50 51 static struct pci_dev pci_pdev = { 52 .is_physfn = 1, > 53 .sriov = &pdev_sriov, > 54 .dev.bus = &pci_bus_type, 55 }; 56 57 struct vf_data_storage { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip