Skip to content

Commit 24f307d

Browse files
LuBaolujoergroedel
authored andcommitted
iommu: Add missing new line for dma type
So that all types are printed in the same format. Fixes: c52c72d ("iommu: Add sysfs attribyte for domain type") Signed-off-by: Lu Baolu <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
1 parent cd6c84d commit 24f307d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/iommu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ static ssize_t iommu_group_show_type(struct iommu_group *group,
341341
type = "unmanaged\n";
342342
break;
343343
case IOMMU_DOMAIN_DMA:
344-
type = "DMA";
344+
type = "DMA\n";
345345
break;
346346
}
347347
}

0 commit comments

Comments
 (0)