Thread (2 messages) flat view 2 messages, 2 authors, 2016-11-24

Re: [net-next PATCH v4] net: dummy: Introduce dummy virtual functions

From: kbuild test robot <hidden>
Date: 2016-11-24 08:25:16

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/20161124-040435
config: x86_64-randconfig-a0-11241529 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):
quoted
drivers/net/dummy.c:54: error: unknown field 'sriov' specified in initializer
   drivers/net/dummy.c:54: warning: initialization makes integer from pointer without a cast
quoted
drivers/net/dummy.c:54: error: initializer element is not computable at load time
   drivers/net/dummy.c:54: error: (near initialization for 'pci_pdev.is_virtfn')
   cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized"

vim +/sriov +54 drivers/net/dummy.c

    48	
    49	static struct pci_sriov pdev_sriov;
    50	
    51	static struct pci_dev pci_pdev = {
    52		.is_physfn = 0,
    53	#ifdef CONFIG_PCI_ATS
  > 54		.sriov = &pdev_sriov,
    55	#endif
    56	#ifdef CONFIG_PCI
    57		.dev.bus = &pci_bus_type,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help