[PATCH] fix a typo in for loop

From: Paolo Ornati
Date: Tue Apr 11 2006 - 09:54:42 EST


Fix a typo in a for loop, "i" should be "k".

Signed-off-by: Paolo Ornati <ornati@xxxxxxxxxxxxx>

---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/