AMD IOMMU: fix fullflush comparison length
Impact: fix comparison length for 'fullflush'
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c
index 595edd2..30ae270 100644
--- a/arch/x86/kernel/amd_iommu_init.c
+++ b/arch/x86/kernel/amd_iommu_init.c
@@ -1215,7 +1215,7 @@
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;
}