mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 09:16:41 +09:00
x86: GART: pci-gart_64.c: Use correct length in strncmp
commit 41855b7754 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
704c528bee
commit
900f42a14f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user