From: Andrew Morton arch/i386/pci/pcbios.c: In function 'pci_find_bios': arch/i386/pci/pcbios.c:305: warning: unused variable 'sig' Cc: Jeremy Fitzhardinge Cc: Rusty Russell Cc: Jeremy Fitzhardinge Cc: Andi Kleen Signed-off-by: Andrew Morton --- arch/i386/pci/pcbios.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff -puN arch/i386/pci/pcbios.c~prep-for-paravirt-be-careful-about-touching-bios-warning-fix arch/i386/pci/pcbios.c --- a/arch/i386/pci/pcbios.c~prep-for-paravirt-be-careful-about-touching-bios-warning-fix +++ a/arch/i386/pci/pcbios.c @@ -302,7 +302,7 @@ static struct pci_raw_ops pci_bios_acces static struct pci_raw_ops * __devinit pci_find_bios(void) { - union bios32 *check, sig; + union bios32 *check; unsigned char sum; int i, length; @@ -336,11 +336,13 @@ static struct pci_raw_ops * __devinit pc } DBG("PCI: BIOS32 Service Directory structure at 0x%p\n", check); if (check->fields.entry >= 0x100000) { - printk("PCI: BIOS32 entry (0x%p) in high memory, cannot use.\n", check); + printk("PCI: BIOS32 entry (0x%p) in high memory, " + "cannot use.\n", check); return NULL; } else { unsigned long bios32_entry = check->fields.entry; - DBG("PCI: BIOS32 Service Directory entry at 0x%lx\n", bios32_entry); + DBG("PCI: BIOS32 Service Directory entry at 0x%lx\n", + bios32_entry); bios32_indirect.address = bios32_entry + PAGE_OFFSET; if (check_pcibios()) return &pci_bios_access; _