mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 19:23:57 +08:00
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>
This commit is contained in:
parent
2ae8bb75db
commit
41855b7754
@ -858,7 +858,7 @@ void __init gart_parse_options(char *p)
|
|||||||
#endif
|
#endif
|
||||||
if (isdigit(*p) && get_option(&p, &arg))
|
if (isdigit(*p) && get_option(&p, &arg))
|
||||||
iommu_size = arg;
|
iommu_size = arg;
|
||||||
if (!strncmp(p, "fullflush", 8))
|
if (!strncmp(p, "fullflush", 9))
|
||||||
iommu_fullflush = 1;
|
iommu_fullflush = 1;
|
||||||
if (!strncmp(p, "nofullflush", 11))
|
if (!strncmp(p, "nofullflush", 11))
|
||||||
iommu_fullflush = 0;
|
iommu_fullflush = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user