aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2019-05-24 14:30:56 +0800
committerJoerg Roedel <jroedel@suse.de>2019-05-27 16:15:16 +0200
commit24f307d8abf79486dd3c1b645037df7d91602aaa (patch)
tree6315bbfd7624f447f583c37216a7f0b13efa51f2 /drivers/iommu
parentLinux 5.2-rc2 (diff)
downloadlinux-dev-24f307d8abf79486dd3c1b645037df7d91602aaa.tar.xz
linux-dev-24f307d8abf79486dd3c1b645037df7d91602aaa.zip
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;
}
}