From: Andi Kleen Date: Tue, 11 Apr 2006 10:54:51 +0000 (+0200) Subject: [PATCH] x86_64: Fix embarassing typo in mmconfig bus check X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=44b940c299dfaaf25b7aad683ff55cb213502ddd;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/pci/mmconfig.c b/arch/x86_64/pci/mmconfig.c index 1a59a31bb74..a2060e4d5de 100644 --- a/arch/x86_64/pci/mmconfig.c +++ b/arch/x86_64/pci/mmconfig.c @@ -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;