[PATCH] ARM: uncompress: Drop excess whitespace print

Linus Walleij linus.walleij at linaro.org
Tue Sep 1 08:27:14 EDT 2020


This drops some whitespace from the debug message about
where we move the compressed kernel: \r after the message
is completely surplus since the putc routine will anyway
add \r after \n, and the initial linefeed just assumes
that this will always be the first message on the console,
which is not certain to be true.

Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 arch/arm/boot/compressed/head.S | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
index 5c9c6fe590cb..ce9e9e989fc6 100644
--- a/arch/arm/boot/compressed/head.S
+++ b/arch/arm/boot/compressed/head.S
@@ -91,7 +91,6 @@
 		 */
 		.macro dbgkc, begin, end, cbegin, cend
 #ifdef DEBUG
-		kputc   #'\n'
 		kputc   #'C'
 		kputc   #':'
 		kputc   #'0'
@@ -111,7 +110,6 @@
 		kputc	#'x'
 		kphex	\cend, 8	/* End of kernel copy */
 		kputc	#'\n'
-		kputc	#'\r'
 #endif
 		.endm
 
-- 
2.26.2




More information about the linux-arm-kernel mailing list