Re: linux-next: build warning after merge of the pci tree

From: Yinghai Lu
Date: Tue May 01 2012 - 03:35:48 EST


On Mon, Apr 30, 2012 at 11:08 PM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi Bjorn,
>
> After merging the pci tree, today's linux-next build (i386 defconfig)
> produced this warning:
>
> arch/x86/pci/amd_bus.c: In function 'early_fill_mp_bus_info':
> arch/x86/pci/amd_bus.c:56:6: warning: unused variable 'j' [-Wunused-variable]
>
> Introduced by commit d28e5ac2a07e ("x86/PCI: dynamically allocate
> pci_root_info for native host bridge drivers").
>

please check attached patch.

Thanks

Yinghai

Attachment: amd_bus_warning.patch
Description: Binary data