[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 12 Nov 2016 03:23:07 +0800
From: kbuild test robot <lkp@...el.com>
To: Phil Sutter <phil@....cc>
Cc: kbuild-all@...org, David Miller <davem@...emloft.net>,
netdev@...r.kernel.org, Sabrina Dubroca <sd@...asysnail.net>
Subject: Re: [net-next PATCH] net: dummy: Introduce dummy virtual functions
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: xtensa-common_defconfig (attached as .config)
compiler: xtensa-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=xtensa
All error/warnings (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')
vim +/sriov +53 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
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (10114 bytes)
Powered by blists - more mailing lists