[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4CB34F18.80505@kernel.org>
Date: Mon, 11 Oct 2010 10:53:28 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: "H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] x86, setup: Use puts() instead of printf() in edd code
don't need to use printf there.
Signed-off-by: Yinghai Lu <yinghai@...nel.org>
---
arch/x86/boot/edd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/arch/x86/boot/edd.c
===================================================================
--- linux-2.6.orig/arch/x86/boot/edd.c
+++ linux-2.6/arch/x86/boot/edd.c
@@ -156,7 +156,7 @@ void query_edd(void)
*/
if (!be_quiet)
- printf("Probing EDD (edd=off to disable)... ");
+ puts("Probing EDD (edd=off to disable)... ");
for (devno = 0x80; devno < 0x80+EDD_MBR_SIG_MAX; devno++) {
/*
@@ -175,7 +175,7 @@ void query_edd(void)
}
if (!be_quiet)
- printf("ok\n");
+ puts("ok\n");
}
#endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists