From patchwork Tue Oct 18 22:01:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 9383197 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 A9F74607D0 for ; Tue, 18 Oct 2016 22:04:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 974EA2977C for ; Tue, 18 Oct 2016 22:04:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C15029790; Tue, 18 Oct 2016 22:04:04 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM 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 95C062977C for ; Tue, 18 Oct 2016 22:04:03 +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 1bwcTC-0003KC-HR; Tue, 18 Oct 2016 22:02:50 +0000 Received: from mail-io0-f173.google.com ([209.85.223.173]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bwcST-0002n8-Pv for linux-arm-kernel@lists.infradead.org; Tue, 18 Oct 2016 22:02:07 +0000 Received: by mail-io0-f173.google.com with SMTP id r30so12871961ioi.1 for ; Tue, 18 Oct 2016 15:01:45 -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=ISwBBobVM9EmQETeDEGXzv7eZqoguky9pv+CoNnA5y4=; b=WoQbaDNWpLIuOSscaEyON4AuotIRgvqvbWAk6n48RaKl1VMAlZrZ/8QdoJdbKh1beu 6jonuAcn1RnfztF0sdsHb4lTBT7b/IWNCsH+YZW2gKH17MrEHjhVWGdlnEpIKnabYU38 u3Qy1H+NkDzzominOud/i4h0nQlr+k29QeumBWz50tk33VMmkXJ07mFzUO3o0PlkAskX 7YFMG6nRoFyAF935eyTHyeb+s1XW3koo0RaxYIFziVrPRodWVs5unIue/T+ek/I9PH5H 9i68IDhwiLPIfvur+xTLgPXBtibE5Gug+9DsKRitvXiDCfzMhLAnsHT1EkCbpv87EYEM DAZg== X-Gm-Message-State: AA6/9Rn6rmOXJrjjykRUVtWZwGegyrBDBFMeQE5VXr2QLj+I2iMK6pSci9oLKZT+qJXARufk X-Received: by 10.107.129.151 with SMTP id l23mr3618160ioi.149.1476828104928; Tue, 18 Oct 2016 15:01:44 -0700 (PDT) Received: from labbott-redhat-machine.redhat.com ([2601:602:9800:177f::2946]) by smtp.gmail.com with ESMTPSA id f14sm2157970ita.10.2016.10.18.15.01.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Oct 2016 15:01:44 -0700 (PDT) From: Laura Abbott To: AKASHI Takahiro , Mark Rutland , Ard Biesheuvel , David Brown , Will Deacon , Catalin Marinas Subject: [PATCHv3 3/4] arm64: dump: Remove max_addr Date: Tue, 18 Oct 2016 15:01:30 -0700 Message-Id: <1476828091-17802-4-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476828091-17802-1-git-send-email-labbott@redhat.com> References: <1476828091-17802-1-git-send-email-labbott@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161018_150206_036302_F2A956C9 X-CRM114-Status: GOOD ( 10.88 ) 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 --- v3: 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);