lkml.org 
[lkml]   [2016]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] sparc/PCI: Fix for panic while enabling SR-IOV
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
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-03-23 23:01    [W:0.042 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site