Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Tue, 11 Apr 2006 15:54:46 +0200 | From | Paolo Ornati <> | Subject | [PATCH] fix a typo in for loop |
| |
Fix a typo in a for loop, "i" should be "k".
Signed-off-by: Paolo Ornati <ornati@fastwebnet.it>
---
diff --git a/arch/x86_64/pci/mmconfig.c b/arch/x86_64/pci/mmconfig.c index b493ed9..a1f88f0 100644 --- a/arch/x86_64/pci/mmconfig.c +++ b/arch/x86_64/pci/mmconfig.c @@ -142,7 +142,7 @@ static __init void unreachable_devices(v { 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;
-- Paolo Ornati Linux 2.6.16.2 on x86_64 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |