提交 695b5676 编写于 作者: J Joerg Roedel

AMD IOMMU: fix fullflush comparison length

Impact: fix comparison length for 'fullflush'
Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
上级 3ce1f93c
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册