]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86: GART: pci-gart_64.c: Use correct length in strncmp
authorJoe Perches <joe@perches.com>
Tue, 10 Nov 2009 01:58:50 +0000 (17:58 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 21:43:43 +0000 (13:43 -0800)
commit 41855b77547fa18d90ed6a5d322983d3fdab1959 upstream.

Signed-off-by: Joe Perches <joe@perches.com>
LKML-Reference: <1257818330.12852.72.camel@Joe-Laptop.home>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/pci-gart_64.c

index d2e56b8f48e708032e9504e8cd13f6cd29437f5e..6f711b3a84d7b0347cc425f4480e092e135d19a9 100644 (file)
@@ -856,7 +856,7 @@ void __init gart_parse_options(char *p)
 #endif
        if (isdigit(*p) && get_option(&p, &arg))
                iommu_size = arg;
-       if (!strncmp(p, "fullflush", 8))
+       if (!strncmp(p, "fullflush", 9))
                iommu_fullflush = 1;
        if (!strncmp(p, "nofullflush", 11))
                iommu_fullflush = 0;