* [PATCH] Correct AMD IOMMU printing
@ 2012-10-01 7:41 Daniel J Blueman
[not found] ` <1349077273-17297-1-git-send-email-daniel-JCXMqzvhRcvYtjvyW6yDsg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Blueman @ 2012-10-01 7:41 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Joerg Roedel, iommu, linux-kernel, Daniel J Blueman
When an AMD IOMMU is detected, prevent printing unintended blank line.
Signed-off-by: Daniel J Blueman <daniel@quora.org>
---
drivers/iommu/amd_iommu_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c
index 18a89b7..49d9d32 100644
--- a/drivers/iommu/amd_iommu_init.c
+++ b/drivers/iommu/amd_iommu_init.c
@@ -1115,8 +1115,8 @@ static void print_iommu_info(void)
if (iommu_feature(iommu, (1ULL << i)))
pr_cont(" %s", feat_str[i]);
}
+ pr_cont("\n");
}
- pr_cont("\n");
}
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Correct AMD IOMMU printing
[not found] ` <1349077273-17297-1-git-send-email-daniel-JCXMqzvhRcvYtjvyW6yDsg@public.gmane.org>
@ 2012-10-01 7:55 ` Joerg Roedel
0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2012-10-01 7:55 UTC (permalink / raw)
To: Daniel J Blueman
Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA, Ingo Molnar,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
On Mon, Oct 01, 2012 at 03:41:13PM +0800, Daniel J Blueman wrote:
> When an AMD IOMMU is detected, prevent printing unintended blank line.
>
> Signed-off-by: Daniel J Blueman <daniel-JCXMqzvhRcvYtjvyW6yDsg@public.gmane.org>
> ---
> drivers/iommu/amd_iommu_init.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c
> index 18a89b7..49d9d32 100644
> --- a/drivers/iommu/amd_iommu_init.c
> +++ b/drivers/iommu/amd_iommu_init.c
> @@ -1115,8 +1115,8 @@ static void print_iommu_info(void)
> if (iommu_feature(iommu, (1ULL << i)))
> pr_cont(" %s", feat_str[i]);
> }
> + pr_cont("\n");
> }
> - pr_cont("\n");
Sorry, you are 3 days too late with this, Borislav Petkov already
submitted a similar patch on friday.
Joerg
--
AMD Operating System Research Center
Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-01 7:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-01 7:41 [PATCH] Correct AMD IOMMU printing Daniel J Blueman
[not found] ` <1349077273-17297-1-git-send-email-daniel-JCXMqzvhRcvYtjvyW6yDsg@public.gmane.org>
2012-10-01 7:55 ` 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).