Эх сурвалжийг харах

[PATCH] x86_64: Fix embarassing typo in mmconfig bus check

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>
Andi Kleen 19 жил өмнө
parent
commit
44b940c299

+ 1 - 1
arch/x86_64/pci/mmconfig.c

@@ -142,7 +142,7 @@ static __init void unreachable_devices(void)
 {
 {
 	int i, k;
 	int i, k;
 	/* Use the max bus number from ACPI here? */
 	/* 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++) {
 		for (i = 0; i < 32; i++) {
 			u32 val1;
 			u32 val1;
 			char __iomem *addr;
 			char __iomem *addr;