Skip to contentSkip to conversation

arch/powerpc/platforms/powernv/pci-ioda.c:1164:13: error: 'struct pci_dev' has no m

PATCH In review Fengguang Wu 2 participants 2 messages Sep 11, 2012 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 84/84 arch/powerpc/platforms/powernv/pci-ioda.c:1164:13: error: 'struct pci_dev' has no m

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
head:   488f54cda219cab6e91139b3ba677b4673cdcf20
commit: 488f54cda219cab6e91139b3ba677b4673cdcf20 [84/84] Merge branch 'pci/gavin-window-alignment' into next

All related error/warning messages:

arch/powerpc/platforms/powernv/pci-ioda.c: In function 'pnv_pci_window_alignment':
arch/powerpc/platforms/powernv/pci-ioda.c:1164:13: error: 'struct pci_dev' has no member named 'pcie_type'

vim +1164 arch/powerpc/platforms/powernv/pci-ioda.c
1159 struct pnv_phb *phb = hose->private_data;
1160 int num_pci_bridges = 0;
1161
1162 bridge = bus->self;
1163 while (bridge) {

Quoted 1 line

1164 if (bridge->pcie_type = PCI_EXP_TYPE_PCI_BRIDGE) {

1165 num_pci_bridges++;
1166 if (num_pci_bridges >= 2)
1167 return 1;
1168 }
1169

---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <[email protected]> Intel Corporation

#1 lore raw

Re: [pci:next 84/84] arch/powerpc/platforms/powernv/pci-ioda.c:1164:13: error: 'struct pci_dev' has

Quoted 8 lines · Fengguang Wu
tree:   git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
head:   488f54cda219cab6e91139b3ba677b4673cdcf20
commit: 488f54cda219cab6e91139b3ba677b4673cdcf20 [84/84] Merge branch 'pci/gavin-window-alignment' into next

All related error/warning messages:

arch/powerpc/platforms/powernv/pci-ioda.c: In function 'pnv_pci_window_alignment':
arch/powerpc/platforms/powernv/pci-ioda.c:1164:13: error: 'struct pci_dev' has no member named 'pcie_type'

Fixed, thanks!

Quoted 16 lines

vim +1164 arch/powerpc/platforms/powernv/pci-ioda.c
1159 struct pnv_phb *phb = hose->private_data;
1160 int num_pci_bridges = 0;
1161
1162 bridge = bus->self;
1163 while (bridge) {

Quoted 1 line

1164 if (bridge->pcie_type = PCI_EXP_TYPE_PCI_BRIDGE) {

1165 num_pci_bridges++;
1166 if (num_pci_bridges >= 2)
1167 return 1;
1168 }
1169

---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <[email protected]> Intel Corporation