Re: arch/alpha/kernel/pci.c:311:25: error: 'bridge' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 25, 2012 at 2:14 AM, Fengguang Wu <fengguang.wu@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux