From patchwork Thu Apr 30 10:50:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lukasz Stelmach X-Patchwork-Id: 11519841 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E6A07913 for ; Thu, 30 Apr 2020 10:50:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C4A0220784 for ; Thu, 30 Apr 2020 10:50:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="N+HQomCr"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="A8RjApn9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C4A0220784 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:Message-Id:Date :Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=e6WhIBB+u1PH6xU0TXg/JSYNgSsUKfYeKtladnZr6FU=; b=N+HQomCrysaSe0 sYH+DhcYql8umgSbVxOTBIktdbMIdQGh9zVvUG/ncYvNj4PckH70FOF/u5iK8HxImU3LZKPwV1xrL ZPwoJ2OyPPJ42UJtbH4u5Nn7EMk3luKfnyp5QOQYNo89PLZh5AV/zixq1sdtOyj6uK0Xvpnr1YrxA Vr537CYXVmN1Hm/rRnzUI/JczSyZ/wPrLVxud4sF52zNQ97dBWR7oH0gD6VXbhDefsdVyDRIkIzsV 4sz2K4MziYEDE3+itrsX0tBzxb3N+OqlliLm75Llmz0aV6IwtmGsVeIPO5CofOCrRbIGM37Uxei8g eDl90wbDCDSUVnEcfXzQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jU6mM-0008Ni-GQ; Thu, 30 Apr 2020 10:50:54 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jU6mI-0008NC-Vk for linux-arm-kernel@lists.infradead.org; Thu, 30 Apr 2020 10:50:52 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200430105048euoutp02b3b24bed1527b6f2b1fba103c12b4e4e~Kk12WgOtD1172111721euoutp02r for ; Thu, 30 Apr 2020 10:50:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200430105048euoutp02b3b24bed1527b6f2b1fba103c12b4e4e~Kk12WgOtD1172111721euoutp02r DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1588243848; bh=veBGnH7xgInKo9nRc/IuDX3Fs+zFRVjRLtRoRyzy6II=; h=From:To:Cc:Subject:Date:References:From; b=A8RjApn9R7em9FqaWPbaMMP3dF0E3xVyI2rQpIIO8BfBrQia0y4v8raXjeS1dijPD ZbLKaf5/t52POrvVplGh5cCLc5pBhN9Ka1lyfQ0unx40VH/Li+xuzr0fQrGl3C3O7N zyOX0NqbAm3NMJ5Sv03q6cRS3O84yhZrXZuWIpws= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200430105048eucas1p1daf75c97dab178dd9e3aa46b483783f0~Kk12JRnhf2501225012eucas1p14; Thu, 30 Apr 2020 10:50:48 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 8C.D9.60698.88DAAAE5; Thu, 30 Apr 2020 11:50:48 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200430105048eucas1p129975fe3fd84c4fd2b14117e3474b203~Kk110v5C80536305363eucas1p1s; Thu, 30 Apr 2020 10:50:48 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200430105048eusmtrp21306ce46205c837f07da8a3b9b5f96e6~Kk110Ld3e2294322943eusmtrp28; Thu, 30 Apr 2020 10:50:48 +0000 (GMT) X-AuditID: cbfec7f5-a0fff7000001ed1a-01-5eaaad8864d0 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id F7.D0.08375.88DAAAE5; Thu, 30 Apr 2020 11:50:48 +0100 (BST) Received: from localhost (unknown [106.120.51.46]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200430105048eusmtip1b55b2459d9da86b9448bfb269235bd91~Kk11q5cyB0912709127eusmtip1D; Thu, 30 Apr 2020 10:50:48 +0000 (GMT) From: =?utf-8?q?=C5=81ukasz_Stelmach?= To: Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: kexec_file: print appropriate variable Date: Thu, 30 Apr 2020 12:50:34 +0200 Message-Id: <20200430105034.17513-1-l.stelmach@samsung.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Organization: Samsung R&D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XlJvUffllWMHp83yQWwROnZFOWXlqQqZOQXl9gq RRtaGOkZWlroGZlY6hkam8daGZkq6dvZpKTmZJalFunbJehl7Ljwmr3gDmtF27Q3jA2MH1m6 GDk5JARMJHon32PtYuTiEBJYyihxtGMyUIIDKCElsXJuOkSNsMSfa11sEDVPGSVuHFnFBpJg E3CU6F96AqxZRGAWo8ScnbeZQBLMAvYSE2f9BysSFrCT2NHZB2azCKhKXF/9HKyGV8BaYv6J O8wQG+QlZjeeZoOIC0qcnPkE7AhmAXWJ9fOEQML8AloSa5qus0CMl5do3jqbeQIj0FKEjlkI HbOQVC1gZF7FKJJaWpybnltsqFecmFtcmpeul5yfu4kRGAnbjv3cvIPx0sbgQ4wCHIxKPLwW qSvjhFgTy4orcw8xSnAwK4nwPoxdFSfEm5JYWZValB9fVJqTWnyI0RTonYnMUqLJ+cAozSuJ NzQ1NLewNDQ3Njc2s1AS5+0QOBgjJJCeWJKanZpakFoE08fEwSnVwKii7fRjqdSlSbU/lUTU nVq5eWxevv2Z4XphgtnqfumUJcJ/Px9Pc9QSfr3SaWZhipoP648nm7q0Ir/pM9yfZWPg4L39 /dzXO8QDSu+uyYow1xFybWCYrfnJ83uNdO7rY3FPTjo+iNvwNKWEOa9P/JD2x8UaWRe2CEab Ojjdeqyxfet/p9rvr5RYijMSDbWYi4oTAbUcTMiaAgAA X-CMS-MailID: 20200430105048eucas1p129975fe3fd84c4fd2b14117e3474b203 X-Msg-Generator: CA X-RootMTR: 20200430105048eucas1p129975fe3fd84c4fd2b14117e3474b203 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200430105048eucas1p129975fe3fd84c4fd2b14117e3474b203 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200430_035051_224034_1316B160 X-CRM114-Status: GOOD ( 12.85 ) X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [210.118.77.12 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [210.118.77.12 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C5=81ukasz_Stelmach?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes: 4312057681929 ("arm64: kexec_file: load initrd and device-tree") Signed-off-by: Ɓukasz Stelmach --- arch/arm64/kernel/machine_kexec_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/machine_kexec_file.c b/arch/arm64/kernel/machine_kexec_file.c index b40c3b0def92..2776bdaa83a5 100644 --- a/arch/arm64/kernel/machine_kexec_file.c +++ b/arch/arm64/kernel/machine_kexec_file.c @@ -332,7 +332,7 @@ int load_other_segments(struct kimage *image, image->arch.dtb_mem = kbuf.mem; pr_debug("Loaded dtb at 0x%lx bufsz=0x%lx memsz=0x%lx\n", - kbuf.mem, dtb_len, dtb_len); + kbuf.mem, dtb_len, kbuf.memsz); return 0;