From: Joerg Roedel Date: Mon, 17 Nov 2008 14:16:43 +0000 (+0100) Subject: AMD IOMMU: fix fullflush comparison length X-Git-Tag: v2.6.28-rc6~14^2^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=695b5676c727d80921a2dc8737d5b3322222db85;p=linux-2.6-omap-h63xx.git AMD IOMMU: fix fullflush comparison length Impact: fix comparison length for 'fullflush' Signed-off-by: Joerg Roedel --- diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index 595edd2befc..30ae2701b3d 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c @@ -1215,7 +1215,7 @@ static int __init parse_amd_iommu_options(char *str) amd_iommu_isolate = 1; if (strncmp(str, "share", 5) == 0) amd_iommu_isolate = 0; - if (strncmp(str, "fullflush", 11) == 0) + if (strncmp(str, "fullflush", 9) == 0) amd_iommu_unmap_flush = true; }