Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8ed07a1cce1530d2fd42e23c867a7c0c1170515a
Commit:     8ed07a1cce1530d2fd42e23c867a7c0c1170515a
Parent:     0db34215c7e0ef618e7b29fbf271194ca5434f8e
Author:     Atsushi Nemoto <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 13 01:26:52 2007 +0900
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Thu Jul 12 17:41:17 2007 +0100

    [MIPS] Fix a sparse warning in arch/mips/pci/pci.c
    
    Fixes this warning:
    
    arch/mips/pci/pci.c:284:18: warning: symbol 'dev' shadows an earlier one
    arch/mips/pci/pci.c:272:17: originally declared here
    
    Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/pci/pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
index 8108231..99d8f4f 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -269,7 +269,7 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus)
        }
 
        for (ln = bus->devices.next; ln != &bus->devices; ln = ln->next) {
-               struct pci_dev *dev = pci_dev_b(ln);
+               dev = pci_dev_b(ln);
 
                if ((dev->class >> 8) != PCI_CLASS_BRIDGE_PCI)
                        pcibios_fixup_device_resources(dev, bus);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to