public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* arch/alpha/kernel/pci.c:311:25: error: 'bridge' undeclared
@ 2012-09-25  9:14 Fengguang Wu
  2012-09-25 16:35 ` Yinghai Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-09-25  9:14 UTC (permalink / raw)
  To: kernel-janitors

Hi Yinghai,

FYI, kernel build failed on

commit: e77e2cb0193c67de446ad32579348b9c846f5034 PCI, alpha: kill pci_root_buses
config: alpha-defconfig


All error/warnings:

arch/alpha/kernel/pci.c: In function 'pcibios_claim_console_setup':
arch/alpha/kernel/pci.c:310:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
arch/alpha/kernel/pci.c:311:25: error: 'bridge' undeclared (first use in this function)
arch/alpha/kernel/pci.c:311:25: note: each undeclared identifier is reported only once for each function it appears in

vim +311 arch/alpha/kernel/pci.c
   305	static void __init
   306	pcibios_claim_console_setup(void)
   307	{
   308		struct pci_host_bridge *host_bridge = NULL;
   309	
   310		for_each_pci_host_bridge(host_bridge)
 > 311			pcibios_claim_one_bus(bridge->bus);
   312	}
   313	
   314	void __init

---
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: arch/alpha/kernel/pci.c:311:25: error: 'bridge' undeclared
  2012-09-25  9:14 arch/alpha/kernel/pci.c:311:25: error: 'bridge' undeclared Fengguang Wu
@ 2012-09-25 16:35 ` Yinghai Lu
  0 siblings, 0 replies; 2+ messages in thread
From: Yinghai Lu @ 2012-09-25 16:35 UTC (permalink / raw)
  To: kernel-janitors

On Tue, Sep 25, 2012 at 2:14 AM, Fengguang Wu <fengguang.wu@intel.com> wrote:
> Hi Yinghai,
>
> FYI, kernel build failed on
>
> commit: e77e2cb0193c67de446ad32579348b9c846f5034 PCI, alpha: kill pci_root_buses
> config: alpha-defconfig
>
>
> All error/warnings:
>
> arch/alpha/kernel/pci.c: In function 'pcibios_claim_console_setup':
> arch/alpha/kernel/pci.c:310:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
> arch/alpha/kernel/pci.c:311:25: error: 'bridge' undeclared (first use in this function)
> arch/alpha/kernel/pci.c:311:25: note: each undeclared identifier is reported only once for each function it appears in
>
> vim +311 arch/alpha/kernel/pci.c
>    305  static void __init
>    306  pcibios_claim_console_setup(void)
>    307  {
>    308          struct pci_host_bridge *host_bridge = NULL;
>    309
>    310          for_each_pci_host_bridge(host_bridge)
>  > 311                  pcibios_claim_one_bus(bridge->bus);

Fixed.

Thanks

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

end of thread, other threads:[~2012-09-25 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-25  9:14 arch/alpha/kernel/pci.c:311:25: error: 'bridge' undeclared Fengguang Wu
2012-09-25 16:35 ` Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox