]> err.no Git - linux-2.6/commitdiff
[PATCH] x86_64: Fix embarassing typo in mmconfig bus check
authorAndi Kleen <ak@suse.de>
Tue, 11 Apr 2006 10:54:51 +0000 (12:54 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:38:57 +0000 (06:38 -0700)
Surprising that it still worked at all with this - yes it was
tested.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/pci/mmconfig.c

index 1a59a31bb7406d48445da0c9eb392281e1fb9827..a2060e4d5de66ff613383ba0b3f8268425b9bf5b 100644 (file)
@@ -142,7 +142,7 @@ static __init void unreachable_devices(void)
 {
        int i, k;
        /* Use the max bus number from ACPI here? */
-       for (k = 0; i < MAX_CHECK_BUS; k++) {
+       for (k = 0; k < MAX_CHECK_BUS; k++) {
                for (i = 0; i < 32; i++) {
                        u32 val1;
                        char __iomem *addr;