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


Groups > linux.kernel > #1623428 > unrolled 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'?

Started bykbuild test robot <fengguang.wu@intel.com>
First post2017-04-14 01:40 +0200
Last post2017-04-14 01:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [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

#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'?

Fromkbuild test robot <fengguang.wu@intel.com>
Date2017-04-14 01:40 +0200
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'?
Message-ID<tvWvf-1Fj-1@gated-at.bofh.it>

[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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web