lkml.org 
[lkml]   [2012]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Correct AMD IOMMU printing
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@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");

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



\
 
 \ /
  Last update: 2012-10-01 10:41    [W:0.573 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site