summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2019-05-24 09:30:56 +0300
committerJoerg Roedel <jroedel@suse.de>2019-05-27 17:15:16 +0300
commit24f307d8abf79486dd3c1b645037df7d91602aaa (patch)
tree6315bbfd7624f447f583c37216a7f0b13efa51f2 /drivers/iommu
parentcd6c84d8f0cdc911df435bb075ba22ce3c605b07 (diff)
downloadlinux-24f307d8abf79486dd3c1b645037df7d91602aaa.tar.xz
iommu: Add missing new line for dma type
So that all types are printed in the same format. Fixes: c52c72d3dee81 ("iommu: Add sysfs attribyte for domain type") Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index 67ee6623f9b2..c9cfd08673e1 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -341,7 +341,7 @@ static ssize_t iommu_group_show_type(struct iommu_group *group,
type = "unmanaged\n";
break;
case IOMMU_DOMAIN_DMA:
- type = "DMA";
+ type = "DMA\n";
break;
}
}