Skip to contentSkip to conversation

ARM: uncompress: Fix dbgadtb size parameter name

PATCH In review Geert Uytterhoeven 1 participant 2 messages Dec 16, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ARM: uncompress: Fix dbgadtb size parameter name

From: Geert Uytterhoeven <[email protected]>

The dbgadtb macro is passed the size of the appended DTB, not the end address.

Fixes c03e41470e901123 ("ARM: 9010/1: uncompress: Print the location of appended DTB")
---
 arch/arm/boot/compressed/head.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/compressed/head.S +2 -2
index 87d6be9340febdc8..835ce64f1674c9a2 100644
@@ -116,7 +116,7 @@
 		/*
 		 * Debug print of the final appended DTB location
 		 */
-		.macro dbgadtb, begin, end
+		.macro dbgadtb, begin, size
 #ifdef DEBUG
 		kputc   #'D'
 		kputc   #'T'
@@ -129,7 +129,7 @@
 		kputc	#'('
 		kputc	#'0'
 		kputc	#'x'
-		kphex	\end, 8		/* End of appended DTB */
+		kphex	\size, 8	/* Size of appended DTB */
 		kputc	#')'
 		kputc	#'\n'
 #endif
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · Geert Uytterhoeven

From: Geert Uytterhoeven <[email protected]>

The dbgadtb macro is passed the size of the appended DTB, not the end address.

Fixes c03e41470e901123 ("ARM: 9010/1: uncompress: Print the location of appended DTB")

Please ignore. I screwed up some scripting. Sorry for the mess.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds