Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp563828pxb; Wed, 18 Nov 2020 11:17:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJy3f4BWCO/Ms2aoQLM/jEzQuivCDDIZ4ECOHAW7MJ0lALAlsVbJcX4o/Bz7ZaYkHLUVThEl X-Received: by 2002:a05:6402:c8d:: with SMTP id cm13mr26409945edb.340.1605727042253; Wed, 18 Nov 2020 11:17:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605727042; cv=none; d=google.com; s=arc-20160816; b=Z8uOEsO2zLDNn+NQR8oNO1lPB7/01TkKRWz6SB3/OXmkMPq48flWGOAezfmu0ayhi8 5ONd4M5kF3L4K9MIcO88Ok6dRSanxVaCkhcVKqh00JCO8J98sw55ehduCwpSSx+S6i5Z eQ3760c2Famyu7gW6WiHpyfjtZLNQsEPuQ+yMEoPkqwtOYnjvn1ChYwSGX/i6My3twgz DmPdjTBgk8kJDIdnjQYk1bWra5DhWVhwByvrLVmwSqOBcJsmIOPpQZ+tcGFjJP3bUOrn QFq7tMekVFO7zPZj8pPkufDoVGf7mp9rqNsBovoilpJNWQ3Du/6jikwBjoIyo361zG6m 7NTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=yti/2Q+dObsMqGqOPTrTmgV5ZxzI3+lCR67WoURh3F8=; b=i62osmh7BDoCEzB13meB0qD+cDfZ4dNWP5KdQvbGi6Zs9D1D3N05TBJ/8Y3QCVjMR8 CttCdkLrCLqeip2RPHLMz4yEShRDLSVNPWDPA8vAcc2D3JoLboE8+YGPCifVp6VwB+3e npUQ2nHShLi+oLAeCHu8pGrz3ehU+7KjFh7vNK6P5Sx1cyZGz9Os5W82968Od+lBYAXA A9VGNDvEQ7cLA6izcwl/VCEh6v62RzBHdOmGr1VWk6HxtFe34qKe3IOtyO/PMxUo0bgn ojyEkZFf1eZ1vc4hlpVzIXyfN2yGGS4xYAUTku/hHYyhmq29v20K2vMPDWdyrDV+mdbz pFbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g4si16078917edw.15.2020.11.18.11.16.58; Wed, 18 Nov 2020 11:17:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726224AbgKRTNW (ORCPT + 99 others); Wed, 18 Nov 2020 14:13:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726020AbgKRTNW (ORCPT ); Wed, 18 Nov 2020 14:13:22 -0500 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBC81C0613D4 for ; Wed, 18 Nov 2020 11:13:21 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by laurent.telenet-ops.be with bizsmtp id tvDJ2300H4C55Sk01vDJp7; Wed, 18 Nov 2020 20:13:19 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kfStK-003eaX-97; Wed, 18 Nov 2020 20:13:18 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1kfStJ-00Grlg-9U; Wed, 18 Nov 2020 20:13:17 +0100 From: Geert Uytterhoeven To: Linus Walleij , Russell King Cc: Ard Biesheuvel , Nicolas Pitre , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] ARM: uncompress: Fix dbgadtb size parameter name Date: Wed, 18 Nov 2020 20:13:14 +0100 Message-Id: <20201118191314.4019887-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/boot/compressed/head.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index 9905fb7560df215d..265c029c261bc8a1 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S @@ -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 -- 2.25.1