Skip to contentSkip to conversation

iommu: Add missing new line for dma type

PATCH Applied Lu Baolu 2 participants 2 messages May 24, 2019 – May 27, 2019 IOMMU

lore
Share & tools
lore

Lu Baolu

author
#0 lore raw

PATCH 1/1 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")
---
 drivers/iommu/iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/iommu.c +1 -1
index 3fa025f849e9..f371574e9c68 100644
@@ -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;
 		}
 	}
Signature · 6 lines
2.17.1

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu
maintainer Applied
#1 lore raw
Quoted 7 lines · Lu Baolu

So that all types are printed in the same format.

Fixes c52c72d3dee81 ("iommu: Add sysfs attribyte for domain type")
---
 drivers/iommu/iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.