Commit 725a96b6 authored by Lu Baolu's avatar Lu Baolu Committed by Greg Kroah-Hartman

iommu: Add missing new line for dma type

[ Upstream commit 24f307d8 ]

So that all types are printed in the same format.

Fixes: c52c72d3 ("iommu: Add sysfs attribyte for domain type")
Signed-off-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5004fece
...@@ -317,7 +317,7 @@ static ssize_t iommu_group_show_type(struct iommu_group *group, ...@@ -317,7 +317,7 @@ static ssize_t iommu_group_show_type(struct iommu_group *group,
type = "unmanaged\n"; type = "unmanaged\n";
break; break;
case IOMMU_DOMAIN_DMA: case IOMMU_DOMAIN_DMA:
type = "DMA"; type = "DMA\n";
break; break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment