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


Groups > linux.kernel > #1363706

Re: [PATCH v2] sparc/PCI: Fix for panic while enabling SR-IOV

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] sparc/PCI: Fix for panic while enabling SR-IOV
Date 2016-03-23 22:20 +0100
Message-ID <rfYm6-S2-25@gated-at.bofh.it> (permalink)
References <rfWDD-83n-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Hi Babu,

[auto build test ERROR on sparc/master]
[also build test ERROR on v4.5 next-20160323]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Babu-Moger/sparc-PCI-Fix-for-panic-while-enabling-SR-IOV/20160324-033121
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master
config: sparc64-defconfig (attached as .config)
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=sparc64 

All errors (new ones prefixed by >>):

   arch/sparc/kernel/pci.c: In function 'pcibios_add_device':
>> arch/sparc/kernel/pci.c:1005:13: error: 'struct pci_dev' has no member named 'physfn'
      pdev = dev->physfn;
                ^

vim +1005 arch/sparc/kernel/pci.c

   999		struct pci_dev *pdev;
  1000		/*
  1001		 * Add sriov arch specific initialization here.
  1002		 * Copy dev_archdata from PF to VF
  1003		 */
  1004		if (dev->is_virtfn) {
> 1005			pdev = dev->physfn;
  1006			memcpy(&dev->dev.archdata, &pdev->dev.archdata,
  1007					sizeof(struct dev_archdata));
  1008		}

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] sparc/PCI: Fix for panic while enabling SR-IOV Babu Moger <babu.moger@oracle.com> - 2016-03-23 20:30 +0100
  Re: [PATCH v2] sparc/PCI: Fix for panic while enabling SR-IOV kbuild test robot <lkp@intel.com> - 2016-03-23 22:20 +0100

csiph-web