From patchwork Thu Oct 27 16:27:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 9399905 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 082D260231 for ; Thu, 27 Oct 2016 16:32:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA3182A365 for ; Thu, 27 Oct 2016 16:32:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC08F2A367; Thu, 27 Oct 2016 16:32:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 832A92A365 for ; Thu, 27 Oct 2016 16:32:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bznZu-0006Qy-9c; Thu, 27 Oct 2016 16:30:54 +0000 Received: from mail-qk0-f180.google.com ([209.85.220.180]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bznXJ-0003Bv-Bw for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2016 16:28:17 +0000 Received: by mail-qk0-f180.google.com with SMTP id z190so52921105qkc.2 for ; Thu, 27 Oct 2016 09:27:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wDtPyReBfe/ZyxSAGkw8UVRf2vDZBUW8krI19kuivZw=; b=SbuhgDpZJH8Uq9fnlVj8DZLBdiroeK/eqMKGHsb5zQ63a762gbDkeH2/A+YzAgaQjs 8/NfP9qJrr9uPXCOymHkJXqe1SdrSt79zFPdhsw8aIuobe/Bf7bzLw+c2c8BqqLXhJog fwMSXYlX2UDUzqQgkASZTz6V8XoWf+1U1Ia64U0I7ev55XICeeAWgEB+FTTf1P/Kcuvs m5+dSUnG/99I5tmNJStNRFfeLqXQwIqQXVq0NqbIjj+OmdmhUJj5n3guE3pIJ9per8/m AzmmMMd07GxMz2/Q3wGonSRNy9RxLa3X+DAzh5Fbi/rJEE9dYvhii0i+Ch0mzZcw77nU 7BIg== X-Gm-Message-State: ABUngve+JXRC11OO8mg9av//cP62aDtZGY5IS0FX11Iqr4mBveEjHMz0a18WV9M/WQTao4ua X-Received: by 10.55.116.7 with SMTP id p7mr6758331qkc.1.1477585672012; Thu, 27 Oct 2016 09:27:52 -0700 (PDT) Received: from labbott-redhat-machine.redhat.com ([2601:602:9800:177f::3aaa]) by smtp.gmail.com with ESMTPSA id s23sm3997297qka.10.2016.10.27.09.27.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Oct 2016 09:27:50 -0700 (PDT) From: Laura Abbott To: AKASHI Takahiro , Mark Rutland , Ard Biesheuvel , David Brown , Will Deacon , Catalin Marinas Subject: [PATCHv4 3/4] arm64: dump: Remove max_addr Date: Thu, 27 Oct 2016 09:27:33 -0700 Message-Id: <1477585654-8908-4-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477585654-8908-1-git-send-email-labbott@redhat.com> References: <1477585654-8908-1-git-send-email-labbott@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161027_092813_722009_E76F8210 X-CRM114-Status: GOOD ( 10.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-efi@vger.kernel.org, Kees Cook , kernel-hardening@lists.openwall.com, Matt Fleming , linux-kernel@vger.kernel.org, Laura Abbott , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP max_addr was added as part of struct ptdump_info but has never actually been used. Remove it. Reviewed-by: Kees Cook Reviewed-by: Mark Rutland Tested-by: Mark Rutland Signed-off-by: Laura Abbott --- v4: No changes --- arch/arm64/include/asm/ptdump.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/include/asm/ptdump.h b/arch/arm64/include/asm/ptdump.h index 16335da..f72ee69 100644 --- a/arch/arm64/include/asm/ptdump.h +++ b/arch/arm64/include/asm/ptdump.h @@ -30,7 +30,6 @@ struct ptdump_info { struct mm_struct *mm; const struct addr_marker *markers; unsigned long base_addr; - unsigned long max_addr; }; void ptdump_walk_pgd(struct seq_file *s, struct ptdump_info *info);