Skip to content

Commit

Permalink
iommu: Add missing new line for dma type
Browse files Browse the repository at this point in the history
So that all types are printed in the same format.

Fixes: c52c72d ("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>
  • Loading branch information
LuBaolu authored and gs0622 committed Jun 23, 2019
1 parent f3b0615 commit cafb627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iommu/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit cafb627

Please sign in to comment.