arch/powerpc/kernel/pci_64.c:215:20: error: unused varia
PATCH 67/69 arch/powerpc/kernel/pci_64.c:215:20: error: unused varia
Hi Yinghai,
FYI, kernel build failed on
tree: for-pci-kill-pci-root-buses head: 5e4af90ab778188866399b772ac0c0002c1aa95a commit: d77b2c8faf39dd5d0fc1e2fea1a367299ee1282b [67/69] PCI, powerpc: kill pci_root_buses in resources reservations config: powerpc-chroma_defconfig
All error/warnings:
arch/powerpc/kernel/pci_64.c: In function 'sys_pciconfig_iobase':arch/powerpc/kernel/pci_64.c:215:20: error: unused variable 'ln' [-Werror=unused-variable]
cc1: all warnings being treated as errors
--arch/powerpc/kernel/pci-common.c: In function 'pcibios_resource_survey':arch/powerpc/kernel/pci-common.c:1407:4: error: passing argument 1 of 'pcibios_reserve_legacy_regions' from incompatible pointer type [-Werror] arch/powerpc/kernel/pci-common.c:1334:20: note: expected 'struct pci_bus *' but argument is of type 'struct pci_host_bridge *'
cc1: all warnings being treated as errors
vim +215 arch/powerpc/kernel/pci_64.c
209 #define IOBASE_ISA_MEM 4
210
211 long sys_pciconfig_iobase(long which, unsigned long in_bus,
212 unsigned long in_devfn)
213 {
214 struct pci_controller* hose;
Quoted 1 line
215 struct
list_head*ln;
216 struct pci_bus *bus;
217 struct device_node *hose_node;
218 struct pci_host_bridge *host_bridge = NULL;
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation
Re: [yinghai:for-pci-kill-pci-root-buses 67/69] arch/powerpc/kernel/pci_64.c:215:20: error: unused v
Quoted 25 lines · Fengguang Wu
Hi Yinghai,
FYI, kernel build failed on
tree: for-pci-kill-pci-root-buses head: 5e4af90ab778188866399b772ac0c0002c1aa95a commit: d77b2c8faf39dd5d0fc1e2fea1a367299ee1282b [67/69] PCI, powerpc: kill pci_root_buses in resources reservations config: powerpc-chroma_defconfigAll error/warnings:
arch/powerpc/kernel/pci_64.c: In function 'sys_pciconfig_iobase':arch/powerpc/kernel/pci_64.c:215:20: error: unused variable 'ln' [-Werror=unused-variable]
cc1: all warnings being treated as errors
--arch/powerpc/kernel/pci-common.c: In function 'pcibios_resource_survey':arch/powerpc/kernel/pci-common.c:1407:4: error: passing argument 1 of 'pcibios_reserve_legacy_regions' from incompatible pointer type [-Werror]arch/powerpc/kernel/pci-common.c:1334:20: note: expected 'structpci_bus*' but argument is of type 'structpci_host_bridge*'
cc1: all warnings being treated as errorsvim +215
arch/powerpc/kernel/pci_64.c
209 #defineIOBASE_ISA_MEM4
210
211 long sys_pciconfig_iobase(long which, unsigned longin_bus,
212 unsigned longin_devfn)
Quoted 7 lines
213 { 214 struct pci_controller* hose;Quoted 1 line
215 struct
list_head*ln;216 struct pci_bus *bus; 217 struct device_node *hose_node; 218 struct pci_host_bridge *host_bridge = NULL;
Fixed.