]> 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 22:03:21 +0000 (14:03 -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 a7f1b64f86e0476321c82dc44d3fe7dd20758927..fcc0b5c022c10cbe545c7f781cf25bcdd805e7f8 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;