Skip to content

Commit 7ca9c39

Browse files
geertugregkh
authored andcommitted
ARM: 9036/1: uncompress: Fix dbgadtb size parameter name
[ Upstream commit 1ecec38 ] The dbgadtb macro is passed the size of the appended DTB, not the end address. Fixes: c03e414 ("ARM: 9010/1: uncompress: Print the location of appended DTB") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent bf7b8c1 commit 7ca9c39

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • arch/arm/boot/compressed

‎arch/arm/boot/compressed/head.S‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
/*
117117
* Debug print of the final appended DTB location
118118
*/
119-
.macro dbgadtb, begin, end
119+
.macro dbgadtb, begin, size
120120
#ifdef DEBUG
121121
kputc #'D'
122122
kputc #'T'
@@ -129,7 +129,7 @@
129129
kputc #'('
130130
kputc #'0'
131131
kputc #'x'
132-
kphex \end, 8 /* End of appended DTB */
132+
kphex \size, 8 /* Size of appended DTB */
133133
kputc #')'
134134
kputc #'\n'
135135
#endif

0 commit comments

Comments
 (0)