]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iommu: Add missing new line for dma type
authorLu Baolu <baolu.lu@linux.intel.com>
Fri, 24 May 2019 06:30:56 +0000 (14:30 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 27 May 2019 14:15:16 +0000 (16:15 +0200)
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>
drivers/iommu/iommu.c

index 67ee6623f9b2a4d07dcae56dfb99fcf6e4edbb0d..c9cfd08673e16b5289d7a2c682eec12bda6f78a0 100644 (file)
@@ -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;
                }
        }