public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86, setup: Use puts() instead of printf() in edd code
@ 2010-10-11 17:53 Yinghai Lu
  0 siblings, 0 replies; only message in thread
From: Yinghai Lu @ 2010-10-11 17:53 UTC (permalink / raw)
  To: H. Peter Anvin, Ingo Molnar, Thomas Gleixner; +Cc: linux-kernel@vger.kernel.org


don't need to use printf there.

Signed-off-by: Yinghai Lu <yinghai@kernel.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-11 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-11 17:53 [PATCH] x86, setup: Use puts() instead of printf() in edd code Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox