LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 1/1] iommu: Add missing new line for dma type
@ 2019-05-24  6:30 Lu Baolu
  2019-05-27 14:12 ` Joerg Roedel
  0 siblings, 1 reply; 2+ messages in thread
From: Lu Baolu @ 2019-05-24  6:30 UTC (permalink / raw)
  To: Joerg Roedel; +Cc: iommu, linux-kernel, Lu Baolu

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>
---
 drivers/iommu/iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index 3fa025f849e9..f371574e9c68 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -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;
 		}
 	}
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] iommu: Add missing new line for dma type
  2019-05-24  6:30 [PATCH 1/1] iommu: Add missing new line for dma type Lu Baolu
@ 2019-05-27 14:12 ` Joerg Roedel
  0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2019-05-27 14:12 UTC (permalink / raw)
  To: Lu Baolu; +Cc: iommu, linux-kernel

On Fri, May 24, 2019 at 02:30:56PM +0800, Lu Baolu wrote:
> 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>
> ---
>  drivers/iommu/iommu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-27 14:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-24  6:30 [PATCH 1/1] iommu: Add missing new line for dma type Lu Baolu
2019-05-27 14:12 ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).