]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: 9036/1: uncompress: Fix dbgadtb size parameter name
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 4 Dec 2020 09:37:14 +0000 (10:37 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 21 Dec 2020 11:19:20 +0000 (11:19 +0000)
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")
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>
arch/arm/boot/compressed/head.S

index 14d1995106c28e3f35525f2bb4c0d30addcedf62..4fb699769e6a6a5b88544b8b82f57d0e2392d5d4 100644 (file)
                /*
                 * Debug print of the final appended DTB location
                 */
-               .macro dbgadtb, begin, end
+               .macro dbgadtb, begin, size
 #ifdef DEBUG
                kputc   #'D'
                kputc   #'T'
                kputc   #'('
                kputc   #'0'
                kputc   #'x'
-               kphex   \end, 8         /* End of appended DTB */
+               kphex   \size, 8        /* Size of appended DTB */
                kputc   #')'
                kputc   #'\n'
 #endif