diff options
author | Joe Perches <joe@perches.com> | 2009-11-09 17:58:50 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-18 13:43:43 -0800 |
commit | ca1e562dec3a5a740b775c88eb90c1104545d44b (patch) | |
tree | bb73132a3973adf9c5040acec3a97d289ed1f048 | |
parent | 122bf2b6785292c8ac1bda3dcd438f2a83007ece (diff) | |
download | lwn-ca1e562dec3a5a740b775c88eb90c1104545d44b.tar.gz lwn-ca1e562dec3a5a740b775c88eb90c1104545d44b.zip |
x86: GART: pci-gart_64.c: Use correct length in strncmp
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>
-rw-r--r-- | arch/x86/kernel/pci-gart_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index d2e56b8f48e7..6f711b3a84d7 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c @@ -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; |