mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] pci-gart_64.c: Use correct length in strncmp
@ 2009-11-10  1:58 Joe Perches
  2009-11-10  5:16 ` [tip:core/iommu] x86: GART: " tip-bot for Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Perches @ 2009-11-10  1:58 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86; +Cc: LKML

Signed-off-by: Joe Perches <joe@perches.com>

diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c
index a7f1b64..fcc0b5c 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;



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-10  5:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-10  1:58 [PATCH] pci-gart_64.c: Use correct length in strncmp Joe Perches
2009-11-10  5:16 ` [tip:core/iommu] x86: GART: " tip-bot for Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®