* [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 related [flat|nested] 2+ messages in thread
* [tip:core/iommu] x86: GART: pci-gart_64.c: Use correct length in strncmp
2009-11-10 1:58 [PATCH] pci-gart_64.c: Use correct length in strncmp Joe Perches
@ 2009-11-10 5:16 ` tip-bot for Joe Perches
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Joe Perches @ 2009-11-10 5:16 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, joe, tglx, mingo
Commit-ID: 41855b77547fa18d90ed6a5d322983d3fdab1959
Gitweb: http://git.kernel.org/tip/41855b77547fa18d90ed6a5d322983d3fdab1959
Author: Joe Perches <joe@perches.com>
AuthorDate: Mon, 9 Nov 2009 17:58:50 -0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Tue, 10 Nov 2009 06:05:39 +0100
x86: GART: pci-gart_64.c: Use correct length in strncmp
Signed-off-by: Joe Perches <joe@perches.com>
Cc: <stable@kernel.org> # .3x.x
LKML-Reference: <1257818330.12852.72.camel@Joe-Laptop.home>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
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 a9bcdf7..eb46ab3 100644
--- a/arch/x86/kernel/pci-gart_64.c
+++ b/arch/x86/kernel/pci-gart_64.c
@@ -858,7 +858,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 related [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.