Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752110Ab2JAHlj (ORCPT ); Mon, 1 Oct 2012 03:41:39 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:53758 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751551Ab2JAHli (ORCPT ); Mon, 1 Oct 2012 03:41:38 -0400 From: Daniel J Blueman To: Ingo Molnar Cc: Joerg Roedel , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Daniel J Blueman Subject: [PATCH] Correct AMD IOMMU printing Date: Mon, 1 Oct 2012 15:41:13 +0800 Message-Id: <1349077273-17297-1-git-send-email-daniel@quora.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 849 Lines: 29 When an AMD IOMMU is detected, prevent printing unintended blank line. Signed-off-by: Daniel J Blueman --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/