]> git.kernelconcepts.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:30:57 +0000 (13:30 -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 eed133ed4037b132af0bd68acc8cfa7256146f0a..625ead69e1605d10fa5ca5ffec9c8e630339a348 100644 (file)
@@ -865,7 +865,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;