iommu: Add missing new line for dma type

[ Upstream commit 24f307d8abf79486dd3c1b645037df7d91602aaa ]

So that all types are printed in the same format.

Fixes: c52c72d3de ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Lu Baolu 2019-05-24 14:30:56 +08:00 committed by Greg Kroah-Hartman
parent 5004fece16
commit 725a96b6f6

View file

@ -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;
} }
} }