Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623428

[tip:WIP.hotplug 30/32] drivers//pci/pci-driver.c:342:27: error: 'struct pci_dev' has no member named 'physfn'; did you mean 'is_physfn'?

From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject [tip:WIP.hotplug 30/32] drivers//pci/pci-driver.c:342:27: error: 'struct pci_dev' has no member named 'physfn'; did you mean 'is_physfn'?
Date 2017-04-14 01:40 +0200
Message-ID <tvWvf-1Fj-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.hotplug
head:   355d9c03df2c702f4fc346b94b8d3dfa5992aa65
commit: 295afd420469ed67ea4c5c4b3fdf1bba5331f33e [30/32] PCI: Use cpu_hotplug_disable() instead of get_online_cpus()
config: x86_64-randconfig-x017-201715 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 295afd420469ed67ea4c5c4b3fdf1bba5331f33e
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers//pci/pci-driver.c: In function 'pci_call_probe':
>> drivers//pci/pci-driver.c:342:27: error: 'struct pci_dev' has no member named 'physfn'; did you mean 'is_physfn'?
     if (dev->is_virtfn && dev->physfn->is_probed)
                              ^~

vim +342 drivers//pci/pci-driver.c

   336	
   337		cpu_hotplug_disable();
   338		/*
   339		 * Prevent nesting work_on_cpu() for the case where a Virtual Function
   340		 * device is probed from work_on_cpu() of the Physical device.
   341		 */
 > 342		if (dev->is_virtfn && dev->physfn->is_probed)
   343			cpu = nr_cpu_ids;
   344		else
   345			cpu = cpumask_any_and(cpumask_of_node(node), cpu_online_mask);

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[tip:WIP.hotplug 30/32] drivers//pci/pci-driver.c:342:27: error:  'struct pci_dev' has no member named 'physfn'; did you mean 'is_physfn'? kbuild test robot <fengguang.wu@intel.com> - 2017-04-14 01:40 +0200

csiph-web