projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ae8bb7
)
x86: GART: pci-gart_64.c: Use correct length in strncmp
author
Joe Perches
<joe@perches.com>
Tue, 10 Nov 2009 01:58:50 +0000
(17:58 -0800)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 10 Nov 2009 05:05:39 +0000
(06:05 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/pci-gart_64.c
b/arch/x86/kernel/pci-gart_64.c
index a9bcdf7c880158fae2cf70e03ae0c5a405052b90..eb46ab3f52b2bf6888a1fd5d772d8561c13fecb9 100644
(file)
--- 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;