kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [yinghai:for-pci-kill-pci-root-buses 67/69] arch/powerpc/kernel/pci_64.c:215:20: error: unused varia
@ 2012-09-26  2:21 Fengguang Wu
  2012-09-26  3:57 ` [yinghai:for-pci-kill-pci-root-buses 67/69] arch/powerpc/kernel/pci_64.c:215:20: error: unused v Yinghai Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-09-26  2:21 UTC (permalink / raw)
  To: kernel-janitors

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;
 > 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [yinghai:for-pci-kill-pci-root-buses 67/69] arch/powerpc/kernel/pci_64.c:215:20: error: unused v
  2012-09-26  2:21 [yinghai:for-pci-kill-pci-root-buses 67/69] arch/powerpc/kernel/pci_64.c:215:20: error: unused varia Fengguang Wu
@ 2012-09-26  3:57 ` Yinghai Lu
  0 siblings, 0 replies; 2+ messages in thread
From: Yinghai Lu @ 2012-09-26  3:57 UTC (permalink / raw)
  To: kernel-janitors

On Tue, Sep 25, 2012 at 7:21 PM, Fengguang Wu <fengguang.wu@intel.com> wrote:
> 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;
>  > 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-26  3:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26  2:21 [yinghai:for-pci-kill-pci-root-buses 67/69] arch/powerpc/kernel/pci_64.c:215:20: error: unused varia Fengguang Wu
2012-09-26  3:57 ` [yinghai:for-pci-kill-pci-root-buses 67/69] arch/powerpc/kernel/pci_64.c:215:20: error: unused v Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).